Interactive interface for browsing global, full-resolution satellite imagery
add e2e tests for disabling gif button when too many frames
Jason Kentf9c419705f20
diff --git a/e2e/features/animation/gif-test.js b/e2e/features/animation/gif-test.jsindex b107c68e3..d5ac881b7 100644--- a/e2e/features/animation/gif-test.js+++ b/e2e/features/animation/gif-test.js@@ -108,6 +108,30 @@ module.exports = {});},+ 'GIF download is disabled when too many frames would be requested with standard interval': function(+ client+ ) {+ client.url(client.globals.url + localQuerystrings.animationTooManyFrames);+ client.waitForElementVisible(+ localSelectors.animationWidget,+ TIME_LIMIT,+ function() {+ client.useCss().assert.cssClassPresent('#create-gif-button', 'disabled');+ }+ );+ },+ 'GIF download is disabled when too many frames would be requested with custom interval': function(+ client+ ) {+ client.url(client.globals.url + localQuerystrings.animationTooManyFramesCustomInterval);+ client.waitForElementVisible(+ localSelectors.animationWidget,+ TIME_LIMIT,+ function() {+ client.useCss().assert.cssClassPresent('#create-gif-button', 'disabled');+ }+ );+ },after: function(client) {client.end();}diff --git a/e2e/reuseables/querystrings.js b/e2e/reuseables/querystrings.jsindex d5a8a46b5..04ddd2736 100644--- a/e2e/reuseables/querystrings.js+++ b/e2e/reuseables/querystrings.js@@ -3,6 +3,8 @@ module.exports = {activeAnimationWidget: '?p=geographic&l=VIIRS_SNPP_CorrectedReflectance_TrueColor(hidden),MODIS_Aqua_CorrectedReflectance_TrueColor(hidden),MODIS_Terra_CorrectedReflectance_TrueColor,Reference_Labels(hidden),Reference_Features(hidden),Coastlines&t=2018-04-04&z=3&v=-177.94712426144758,-46.546875,-5.14662573855243,53.015625&ab=on&as=2018-03-28&ae=2018-04-04&av=3&al=false',activeCustomColormap: '?p=geographic&l=AIRS_CO_Total_Column_Day(palette=red_1)&t=2016-04-08&z=3&v=-223.875,-91.828125,162.84375,98.296875&ab=on&as=2016-03-25&ae=2016-04-08&av=3&al=false',animationProjectionRotated: '?p=arctic&l=MODIS_Terra_CorrectedReflectance_TrueColor,Coastlines&t=2016-12-09&z=3&v=-2764195.2298414493,-88762.12734933128,2589496.903095221,3893331.478195751&r=-18.0000&ab=on&as=2016-12-02&ae=2016-12-09&av=3&al=true',+ animationTooManyFrames: '?p=geographic&v=-52.43799794510461,-36.052394508901145,-33.34815419510461,-12.532863258901145&t=2019-06-24-T10%3A00%3A00Z&as=2018-06-24-T10%3A00%3A00Z&ae=2019-07-01-T10%3A00%3A00Z&ab=on',+ animationTooManyFramesCustomInterval: '?p=geographic&v=-52.43799794510461,-36.052394508901145,-33.34815419510461,-12.532863258901145&t=2019-06-13-T08%3A00%3A00Z&ics=true&ici=2&icd=3&as=2009-06-23-T10%3A00%3A00Z&ae=2019-07-01-T10%3A00%3A00Z&ab=on',// compareswipeAndAIsActive: