Commit 22cdaf62 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Asegura que no hay loading antes de click genérico

parent 19103691
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -105,24 +105,26 @@ define([
			//	summary:
			//		Busca el elemento correspondiente al selector especificado y clickea sobre él.

			return function() {
			return lang.partial(function(self, elementSelector) {

				return this.parent
					.then(self.checkLoadingIsGone())
					.findByCssSelector(elementSelector)
						.click();
			};
			}, this, elementSelector);
		},

		clickDisplayedElement: function(elementSelector) {
			//	summary:
			//		Busca el elemento mostrado correspondiente al selector especificado y clickea sobre él.

			return function() {
			return lang.partial(function(self, elementSelector) {

				return this.parent
					.then(self.checkLoadingIsGone())
					.findDisplayedByCssSelector(elementSelector)
						.click();
			};
			}, this, elementSelector);
		},

		clickInToTab: function(index, selector) {