Loading tests/functional/administrative/taxonomy/Misidentification.js +1 −1 Original line number Diff line number Diff line Loading @@ -91,7 +91,7 @@ define([ sidebarPrimaryValue: 'admin', sidebarSecondaryValue: '/admin/taxonomy', urlValue: '/taxon/misidentification', wizardEditionUrlValue: '/admin/misidentification-edit/2', wizardEditionUrlValue: '/admin/misidentification-edit/1', wizardAdditionUrlValue: '/admin/misidentification-add/new', textSearchValue: 'Diadema antillarum', configSteps: [{ Loading tests/support/Utils.js +25 −2 Original line number Diff line number Diff line Loading @@ -139,6 +139,8 @@ define([ return lang.partial(function(self) { return this.parent .sleep(Config.timeout.shortSleep) .then(Utils.checkLoadingIsGone()) .then(self.clickDisplayedElementWithControlError(selector)) .then(function(success) { Loading Loading @@ -174,6 +176,25 @@ define([ clickElementTakingIntoAccountAlertify: function(selector) { return lang.partial(function(self) { return this.parent .then(self.clickDisplayedElementWithControlError('div.alertify-notifier > div.ajs-visible')) .then(function(success) { if (!success) { return this.parent .then(self.clickDisplayedElement(selector)); } return this.parent .then(self.clickElementTakingIntoAccountAlertify(selector)); }); }, this); }, /*clickElementTakingIntoAccountAlertify: function(selector) { return lang.partial(function(self) { return this.parent Loading @@ -183,11 +204,13 @@ define([ if (!success) { return this.parent .then(self.clickDisplayedElement('div.alertify-notifier > div.ajs-visible')) .then(self.clickDisplayedElementWithControlError(selector)); .then(self.clickElementTakingIntoAccountAlertify(selector)); } return this.parent; }); }, this); }, },*/ checkUrl: function(urlExpr) { // summary: Loading tests/support/pages/List.js +1 −0 Original line number Diff line number Diff line Loading @@ -196,6 +196,7 @@ define([ _selectItem: function(checkboxSelector) { return this.parent .then(Utils.checkLoadingIsGone()) .then(Utils.clickDisplayedElement(checkboxSelector)) .then(Utils.checkLoadingIsGone()); }, Loading tests/support/pages/Map.js +1 −0 Original line number Diff line number Diff line Loading @@ -103,6 +103,7 @@ define([ return function() { return this.parent .sleep(Config.timeout.longSleep) .findAllByCssSelector(layersSelector + ' > *') .then(function(children) { return children.length; Loading tests/support/tests/Atlas.js +1 −0 Original line number Diff line number Diff line Loading @@ -190,6 +190,7 @@ define([ .then(indexPage.clickRowButton(1, 'fa-toggle-off')); }(this); }, values)) .then(Utils.checkLoadingIsGone()) .then(indexPage.getLayersCount()) .then(lang.partial(function(values, count) { Loading Loading
tests/functional/administrative/taxonomy/Misidentification.js +1 −1 Original line number Diff line number Diff line Loading @@ -91,7 +91,7 @@ define([ sidebarPrimaryValue: 'admin', sidebarSecondaryValue: '/admin/taxonomy', urlValue: '/taxon/misidentification', wizardEditionUrlValue: '/admin/misidentification-edit/2', wizardEditionUrlValue: '/admin/misidentification-edit/1', wizardAdditionUrlValue: '/admin/misidentification-add/new', textSearchValue: 'Diadema antillarum', configSteps: [{ Loading
tests/support/Utils.js +25 −2 Original line number Diff line number Diff line Loading @@ -139,6 +139,8 @@ define([ return lang.partial(function(self) { return this.parent .sleep(Config.timeout.shortSleep) .then(Utils.checkLoadingIsGone()) .then(self.clickDisplayedElementWithControlError(selector)) .then(function(success) { Loading Loading @@ -174,6 +176,25 @@ define([ clickElementTakingIntoAccountAlertify: function(selector) { return lang.partial(function(self) { return this.parent .then(self.clickDisplayedElementWithControlError('div.alertify-notifier > div.ajs-visible')) .then(function(success) { if (!success) { return this.parent .then(self.clickDisplayedElement(selector)); } return this.parent .then(self.clickElementTakingIntoAccountAlertify(selector)); }); }, this); }, /*clickElementTakingIntoAccountAlertify: function(selector) { return lang.partial(function(self) { return this.parent Loading @@ -183,11 +204,13 @@ define([ if (!success) { return this.parent .then(self.clickDisplayedElement('div.alertify-notifier > div.ajs-visible')) .then(self.clickDisplayedElementWithControlError(selector)); .then(self.clickElementTakingIntoAccountAlertify(selector)); } return this.parent; }); }, this); }, },*/ checkUrl: function(urlExpr) { // summary: Loading
tests/support/pages/List.js +1 −0 Original line number Diff line number Diff line Loading @@ -196,6 +196,7 @@ define([ _selectItem: function(checkboxSelector) { return this.parent .then(Utils.checkLoadingIsGone()) .then(Utils.clickDisplayedElement(checkboxSelector)) .then(Utils.checkLoadingIsGone()); }, Loading
tests/support/pages/Map.js +1 −0 Original line number Diff line number Diff line Loading @@ -103,6 +103,7 @@ define([ return function() { return this.parent .sleep(Config.timeout.longSleep) .findAllByCssSelector(layersSelector + ' > *') .then(function(children) { return children.length; Loading
tests/support/tests/Atlas.js +1 −0 Original line number Diff line number Diff line Loading @@ -190,6 +190,7 @@ define([ .then(indexPage.clickRowButton(1, 'fa-toggle-off')); }(this); }, values)) .then(Utils.checkLoadingIsGone()) .then(indexPage.getLayersCount()) .then(lang.partial(function(values, count) { Loading