Loading tests/support/Utils.js +7 −4 Original line number Diff line number Diff line Loading @@ -179,16 +179,19 @@ define([ return lang.partial(function(self) { return this.parent .sleep(Config.timeout.shortSleep) .then(self.clickDisplayedElementWithControlError('div.alertify-notifier > div.ajs-visible')) .then(function(success) { var parent = this.parent.sleep(Config.timeout.shortSleep), actionName = 'clickElementTakingIntoAccountAlertify'; if (!success) { return this.parent .then(self.clickDisplayedElement(selector)); actionName = 'clickDisplayedElement'; } return this.parent .then(self.clickElementTakingIntoAccountAlertify(selector)); return parent .then(self[actionName](selector)); }); }, this); }, Loading tests/support/tests/CatalogUserReport.js +1 −1 Original line number Diff line number Diff line Loading @@ -103,7 +103,7 @@ define([ var checkNotification = function(values) { return this .sleep(Config.timeout.longSleep) .sleep(Config.timeout.veryLongSleep) .then(Utils.getNotificationCount()) .then(lang.partial(function(values, count) { Loading Loading
tests/support/Utils.js +7 −4 Original line number Diff line number Diff line Loading @@ -179,16 +179,19 @@ define([ return lang.partial(function(self) { return this.parent .sleep(Config.timeout.shortSleep) .then(self.clickDisplayedElementWithControlError('div.alertify-notifier > div.ajs-visible')) .then(function(success) { var parent = this.parent.sleep(Config.timeout.shortSleep), actionName = 'clickElementTakingIntoAccountAlertify'; if (!success) { return this.parent .then(self.clickDisplayedElement(selector)); actionName = 'clickDisplayedElement'; } return this.parent .then(self.clickElementTakingIntoAccountAlertify(selector)); return parent .then(self[actionName](selector)); }); }, this); }, Loading
tests/support/tests/CatalogUserReport.js +1 −1 Original line number Diff line number Diff line Loading @@ -103,7 +103,7 @@ define([ var checkNotification = function(values) { return this .sleep(Config.timeout.longSleep) .sleep(Config.timeout.veryLongSleep) .then(Utils.getNotificationCount()) .then(lang.partial(function(values, count) { Loading