Interactive interface for browsing global, full-resolution satellite imagery
replace resizeWindow with normalizeViewport #689
Benjamin Kingf5b1a4a9457e
diff --git a/e2e/reuseables/skip-tour.js b/e2e/reuseables/skip-tour.jsindex 098eb8cef..101f1736e 100644--- a/e2e/reuseables/skip-tour.js+++ b/e2e/reuseables/skip-tour.js@@ -1,12 +1,13 @@+const normalizeViewport = require('./normalize-viewport.js').normalizeViewport;module.exports = {loadAndSkipTour: function(client, wait) {- client.resizeWindow(1200, 1024);+ normalizeViewport(client, 1000, 1024);client.url(client.globals.url).execute(function() {return !(window.localStorage.getItem('hideSplash')); // See if there should be a tour}, [], function(result) {- const hasTour = result.value- if(hasTour) {+ const hasTour = result.value;+ if (hasTour) {client.waitForElementVisible('#skipTour', wait, function() {client.click('#skipTour');client.pause(1000);