Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Remove unneeded alert code

Josiah Sprague19bca2b0afe1
diff --git a/e2e/step_definitions/utility.js b/e2e/step_definitions/utility.js
index 51a303cf7..e030f254b 100644
--- a/e2e/step_definitions/utility.js
+++ b/e2e/step_definitions/utility.js
@@ -6,12 +6,12 @@ const querystrings = client.globals.querystrings;
defineSupportCode(({Given, Then, When}) => {
Given('Worldview production has been loaded', () => {
- return client.url(client.globals.production).waitForElementVisible('body', delay).acceptAlert().pause(100).acceptAlert();
+ return client.url(client.globals.production).waitForElementVisible('body', delay);
});
Given('Worldview is in {string} state', (state) => {
var stateUrl = client.globals.url + (querystrings[state]||'');
- return client.url(stateUrl).waitForElementVisible('body', delay).acceptAlert().pause(100).acceptAlert();
+ return client.url(stateUrl).waitForElementVisible('body', delay);
});
// Scroll to an element by predefined selector