Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Make skip-tour e2e check work with new tour

ZachTRice140b7ccca183
diff --git a/e2e/reuseables/skip-tour.js b/e2e/reuseables/skip-tour.js
index 734b6232f..ba90a4ec6 100644
--- a/e2e/reuseables/skip-tour.js
+++ b/e2e/reuseables/skip-tour.js
@@ -4,12 +4,12 @@ module.exports = {
normalizeViewport(client, 1024, 768);
client.url(client.globals.url)
.execute(function() {
- return !(window.localStorage.getItem('hideSplash')); // See if there should be a tour
+ return !(window.localStorage.getItem('hideTour')); // See if there should be a tour
}, [], function(result) {
const hasTour = result.value;
if (hasTour) {
- client.waitForElementVisible('#skipTour', wait, function() {
- client.click('#skipTour');
+ client.waitForElementVisible('.tour button.close', wait, function() {
+ client.click('.tour button.close');
client.pause(1000);
});
} else {