Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Allow more time for GIF tests

Benjamin King7b5ecba33339
diff --git a/e2e/features/animations/animations.gif.feature b/e2e/features/animations/animations.gif.feature
index ba74d06e0..7fda94173 100644
--- a/e2e/features/animations/animations.gif.feature
+++ b/e2e/features/animations/animations.gif.feature
@@ -8,7 +8,7 @@ Scenario: Downloading GIF when custom colormap is activated
And I click the "GIF download icon"
Then I see "Would you like to temporarily revert"
When I click "OK"
- Then I see the "GIF results" within 6 seconds
+ Then I see the "GIF results" within 10 seconds
When I click the "GIF results close button"
Then the page doesn't have the "GIF results"
And I see the "animation widget"
@@ -21,7 +21,7 @@ Scenario: Downloading GIF when polar projection is rotated
Then I see "Would you like to reset rotation"
When I click "OK"
And I click the "GIF download icon"
- Then I see the "GIF results" within 6 seconds
+ Then I see the "GIF results" within 10 seconds
When I click the "GIF results close button"
Then the page doesn't have the "GIF results"
diff --git a/e2e/step_definitions/utility.js b/e2e/step_definitions/utility.js
index 23d9745f7..948a96a03 100644
--- a/e2e/step_definitions/utility.js
+++ b/e2e/step_definitions/utility.js
@@ -83,7 +83,7 @@ defineSupportCode(({ Given, Then, When }) => {
return client.useCss().assert.containsText('body', text);
});
- // Wait for an element to be visible
+ // Wait for an string to be visible
Then('I see {string} within {int} seconds', (text, seconds) => {
return client.useCss().expect.element('body').text.to.contain(text).before(seconds * 1000);
});