Interactive interface for browsing global, full-resolution satellite imagery
Add test GIF checkbox assertion
Benjamin Kingdf3ee17fafd9
diff --git a/e2e/features/animations/animations.gif.feature b/e2e/features/animations/animations.gif.featureindex 7fda94173..d867052b9 100644--- a/e2e/features/animations/animations.gif.feature+++ b/e2e/features/animations/animations.gif.feature@@ -34,6 +34,7 @@ Scenario: GIF selection preview is Accurate and selections that are too high disThen I see '2018-04-04' in the 'GIF preview end date value'Then I see '3 Frames Per Second' in the 'GIF preview frame rate value'Then I see a value of '40' in the 'GIF preview resolution selector'+ Then I see 'GIF preview checkbox' is checkedThen I click the 'GIF preview resolution option 250m'And I wait 1 secondsThen I see a value of '1' in the 'GIF preview resolution selector'diff --git a/e2e/step_definitions/utility.js b/e2e/step_definitions/utility.jsindex 948a96a03..6baef1f5b 100644--- a/e2e/step_definitions/utility.js+++ b/e2e/step_definitions/utility.js@@ -116,6 +116,10 @@ defineSupportCode(({ Given, Then, When }) => {return client.useCss().expect.element(selectors[key] || key).to.be.visible;});+ // Check that Checkbox is checked+ Then('I see {string} is checked', (key) => {+ return client.assert.ok(selectors[key] || key);+ });// Wait for an element to be visibleThen('I see the {string} within {int} seconds', (key, seconds) => {return client.useCss().expect.element(selectors[key] || key).to.be.visible.before(seconds * 1000);