Interactive interface for browsing global, full-resolution satellite imagery
lengthen timeout const, was causing timeout error in IE #1119
Benjamin Kingbc7aabc211ca
diff --git a/e2e/features/compare/compare-test.js b/e2e/features/compare/compare-test.jsindex 196cfba40..ba71ea1ed 100644--- a/e2e/features/compare/compare-test.js+++ b/e2e/features/compare/compare-test.js@@ -9,7 +9,7 @@ const ModisTruecolorLayerA ='#active-MODIS_Terra_CorrectedReflectance_TrueColor';const ModisTruecolorLayerB ='#activeB-MODIS_Terra_CorrectedReflectance_TrueColor';-const TIME_LIMIT = 10000;+const TIME_LIMIT = 20000;module.exports = {before: function(client) {reuseables.loadAndSkipTour(client, TIME_LIMIT);diff --git a/e2e/features/compare/layer-dialog-test.js b/e2e/features/compare/layer-dialog-test.jsindex cec2f4fe4..69e75c02a 100644--- a/e2e/features/compare/layer-dialog-test.js+++ b/e2e/features/compare/layer-dialog-test.js@@ -1,7 +1,7 @@const reuseables = require('../../reuseables/skip-tour.js');const localSelectors = require('./selectors.js');const localQuerystrings = require('./querystrings.js');-const TIME_LIMIT = 10000;+const TIME_LIMIT = 20000;const aerosolLayer = '#active-MODIS_Terra_Aerosol';const AodOptionsPanel = '.wv-options-panel-MODIS_Terra_Aerosol';const AodInfoPanel = '.wv-info-panel-MODIS_Terra_Aerosol';diff --git a/e2e/features/compare/layer-picker-test.js b/e2e/features/compare/layer-picker-test.jsindex 3af9a6516..e41dd5a17 100644--- a/e2e/features/compare/layer-picker-test.js+++ b/e2e/features/compare/layer-picker-test.js@@ -6,7 +6,7 @@ const blueMarbleCheckBox ='#blue-marble-nasaeo-modis .measurement-settings-item .iCheck';const aodCheckBox ='#aerosol-optical-depth-terra-misr .measurement-settings-item .iCheck';-const TIME_LIMIT = 10000;+const TIME_LIMIT = 20000;module.exports = {before: function(client) {reuseables.loadAndSkipTour(client, TIME_LIMIT);diff --git a/e2e/features/compare/permalinks-test.js b/e2e/features/compare/permalinks-test.jsindex b32d03543..3c1070b8a 100644--- a/e2e/features/compare/permalinks-test.js+++ b/e2e/features/compare/permalinks-test.js@@ -1,25 +1,34 @@const reuseables = require('../../reuseables/skip-tour.js');const localSelectors = require('./selectors.js');const localQuerystrings = require('./querystrings.js');-const TIME_LIMIT = 10000;+const TIME_LIMIT = 20000;module.exports = {- before: function (client) {+ before: function(client) {reuseables.loadAndSkipTour(client, TIME_LIMIT);},/*** Ensure that page loads with correct A|B mode, A|B state, and* date with given queryString*/- 'Swipe mode and A|B state A are active and date is correct': function(client) {+ 'Swipe mode and A|B state A are active and date is correct': function(+ client+ ) {client.url(client.globals.url + localQuerystrings.swipeAndAIsActive);- client.waitForElementVisible(localSelectors.swipeDragger, TIME_LIMIT, function() {- client.expect.element(localSelectors.swipeButton).to.not.be.enabled;- client.assert.cssClassPresent(localSelectors.aTab, 'active');- client.useCss().assert.containsText(localSelectors.aTab, 'A: 2018-08-17');-- });+ client.waitForElementVisible(+ localSelectors.swipeDragger,+ TIME_LIMIT,+ function() {+ client.expect.element(localSelectors.swipeButton).to.not.be.enabled;+ client.assert.cssClassPresent(localSelectors.aTab, 'active');+ client+ .useCss()+ .assert.containsText(localSelectors.aTab, 'A: 2018-08-17');+ }+ );},- 'Opacity mode and A|B state B are active and date is correct': function(client) {+ 'Opacity mode and A|B state B are active and date is correct': function(+ client+ ) {client.url(client.globals.url + localQuerystrings.opacityAndBIsActive);client.waitForElementVisible('#ab-slider-case', TIME_LIMIT, function() {client.expect.element(localSelectors.opacityButton).to.not.be.enabled;@@ -38,22 +47,38 @@ module.exports = {/*** Ensure that A|B state loads with correct layers given permalink*/- 'A|B loaded with one only layer in A section -- Corrected Reflectance (True Color)': function(client) {+ 'A|B loaded with one only layer in A section -- Corrected Reflectance (True Color)': function(+ client+ ) {client.url(client.globals.url + localQuerystrings.swipeAndAIsActive);client.waitForElementPresent(localSelectors.aTab, TIME_LIMIT, function() {- client.expect.element('.ab-tabs-case .tab-pane.active ul#overlays .item').to.not.be.present;- client.expect.element('#active-MODIS_Terra_CorrectedReflectance_TrueColor').to.be.visible;+ client.expect.element(+ '.ab-tabs-case .tab-pane.active ul#overlays .item'+ ).to.not.be.present;+ client.expect.element(+ '#active-MODIS_Terra_CorrectedReflectance_TrueColor'+ ).to.be.visible;});},'Click B tab to ensure that loaded layers are correct': function(client) {client.click(localSelectors.bTab);client.waitForElementVisible('#activeB-Coastlines', TIME_LIMIT, function() {- client.expect.element('#activeB-MODIS_Aqua_CorrectedReflectance_TrueColor.layer-hidden').to.be.visible;- client.expect.element('#activeB-VIIRS_SNPP_CorrectedReflectance_TrueColor.layer-hidden').to.be.visible;- client.expect.element('#activeB-Reference_Labels.layer-hidden').to.be.visible;- client.expect.element('#activeB-Reference_Features.layer-hidden').to.be.visible;+ client.expect.element(+ '#activeB-MODIS_Aqua_CorrectedReflectance_TrueColor.layer-hidden'+ ).to.be.visible;+ client.expect.element(+ '#activeB-VIIRS_SNPP_CorrectedReflectance_TrueColor.layer-hidden'+ ).to.be.visible;+ client.expect.element(+ '#activeB-Reference_Labels.layer-hidden'+ ).to.be.visible;+ client.expect.element(+ '#activeB-Reference_Features.layer-hidden'+ ).to.be.visible;client.expect.element('#activeB-Coastlines.layer-visible').to.be.visible;- client.expect.element('#activeB-MODIS_Terra_CorrectedReflectance_TrueColor.layer-visible').to.be.visible;+ client.expect.element(+ '#activeB-MODIS_Terra_CorrectedReflectance_TrueColor.layer-visible'+ ).to.be.visible;});},after: function(client) {diff --git a/e2e/features/compare/timeline-test.js b/e2e/features/compare/timeline-test.jsindex 1fee7eb90..d4fcb060b 100644--- a/e2e/features/compare/timeline-test.js+++ b/e2e/features/compare/timeline-test.js@@ -5,7 +5,7 @@ const activeDragger = '.ab-group-case-active';const inactiveDragger = '.ab-group-case-inactive';const dateSelectorDayInput = '#date-selector-main .input-wrapper-day input';const dateSelectorMonthInput = '#date-selector-main .input-wrapper-month input';-const TIME_LIMIT = 10000;+const TIME_LIMIT = 20000;module.exports = {before: function(client) {