Commit da05186d authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Corrige tests funcionales de módulos en chrome

Debido a problemas de contexto, no era posible pasar los tests
funcionales en chrome local. Ahora se controla mejor el ámbito de las
funciones involucradas para corregirlo.
parent 72bca213
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ define([

			return lang.partial(function(buttonSelector1, buttonKey1) {

				return this.parent
				return this.remote
					.then(Utils.clickElement(buttonSelector1))
					.then(pollUntil(function() {

@@ -67,7 +67,7 @@ define([
					buttonKey = 'btn1';

				return this.remote
					.then(pressButtonAndListen(buttonSelector, buttonKey));
					.then(lang.hitch(this, pressButtonAndListen), buttonSelector, buttonKey);
			},

			Should_FindNotDisplayedButton_When_LookForHiddenButton: function() {
@@ -89,7 +89,7 @@ define([
					buttonKey = 'btn3';

				return this.remote
					.then(pressButtonAndListen(buttonSelector, buttonKey));
					.then(lang.hitch(this, pressButtonAndListen), buttonSelector, buttonKey);
			}
		}
	});