diff --git a/test/functional/history/index.js b/test/functional/history/index.js index e788e7e..11cf8af 100644 --- a/test/functional/history/index.js +++ b/test/functional/history/index.js @@ -13,6 +13,7 @@ describe.skip("history", function() { browser.url(config.baseUrl+"?debug&style="+helper.getStyleUrl([ "geojson:example" ])); + browser.alertAccept(); helper.modal.addLayer.open(); diff --git a/test/functional/index.js b/test/functional/index.js index 3c9f5ec..53e6195 100644 --- a/test/functional/index.js +++ b/test/functional/index.js @@ -11,6 +11,7 @@ describe('maputnik', function() { "geojson:example", "raster:raster" ])); + browser.alertAccept(); browser.execute(function() { localStorage.setItem("survey", true); }); diff --git a/test/functional/layers/index.js b/test/functional/layers/index.js index 012b672..048a795 100644 --- a/test/functional/layers/index.js +++ b/test/functional/layers/index.js @@ -11,6 +11,7 @@ describe("layers", function() { "geojson:example", "raster:raster" ])); + browser.alertAccept(); browser.waitForExist(".maputnik-toolbar-link"); browser.flushReactUpdates(); @@ -449,6 +450,7 @@ describe("layers", function() { browser.url(config.baseUrl+"?debug&style="+getStyleUrl([ "geojson:example" ])); + browser.alertAccept(); helper.modal.addLayer.open(); var aId = helper.modal.addLayer.fill({ diff --git a/test/functional/map/index.js b/test/functional/map/index.js index 2df5393..816a30c 100644 --- a/test/functional/map/index.js +++ b/test/functional/map/index.js @@ -9,6 +9,7 @@ describe("map", function() { browser.url(config.baseUrl+"?debug&style="+helper.getStyleUrl([ "geojson:example" ])+"#"+zoomLevel+"/41.3805/2.1635"); + browser.alertAccept(); browser.waitUntil(function () { return ( @@ -22,6 +23,7 @@ describe("map", function() { browser.url(config.baseUrl+"?debug&style="+helper.getStyleUrl([ "geojson:example" ])+"#"+zoomLevel+"/41.3805/2.1635"); + browser.alertAccept(); browser.click(".mapboxgl-ctrl-zoom-in") browser.waitUntil(function () { diff --git a/test/functional/modals/index.js b/test/functional/modals/index.js index 0403b22..726bf09 100644 --- a/test/functional/modals/index.js +++ b/test/functional/modals/index.js @@ -99,6 +99,7 @@ describe("modals", function() { browser.url(config.baseUrl+"?debug&style="+helper.getStyleUrl([ "geojson:example" ])); + browser.alertAccept(); browser.selectByValue(wd.$("nav:inspect", "select"), "inspect"); }) diff --git a/test/functional/screenshots/index.js b/test/functional/screenshots/index.js index 093802e..ef976c4 100644 --- a/test/functional/screenshots/index.js +++ b/test/functional/screenshots/index.js @@ -18,6 +18,7 @@ describe('screenshots', function() { browser.url(config.baseUrl+"?debug&style="+helper.getStyleUrl([ "geojson:example" ])); + browser.alertAccept(); browser.waitForExist(".maputnik-toolbar-link"); browser.flushReactUpdates(); @@ -28,6 +29,7 @@ describe('screenshots', function() { browser.url(config.baseUrl+"?debug&style="+helper.getStyleUrl([ "geojson:example" ])); + browser.alertAccept(); browser.waitForExist(".maputnik-toolbar-link"); browser.flushReactUpdates(); @@ -41,6 +43,7 @@ describe('screenshots', function() { browser.url(config.baseUrl+"?debug&style="+helper.getStyleUrl([ "geojson:example" ])); + browser.alertAccept(); browser.waitForExist(".maputnik-toolbar-link"); browser.flushReactUpdates(); @@ -54,6 +57,7 @@ describe('screenshots', function() { browser.url(config.baseUrl+"?debug&style="+helper.getStyleUrl([ "geojson:example" ])); + browser.alertAccept(); browser.waitForExist(".maputnik-toolbar-link"); browser.flushReactUpdates(); @@ -67,6 +71,7 @@ describe('screenshots', function() { browser.url(config.baseUrl+"?debug&style="+helper.getStyleUrl([ "geojson:example" ])); + browser.alertAccept(); browser.waitForExist(".maputnik-toolbar-link"); browser.flushReactUpdates(); @@ -80,6 +85,7 @@ describe('screenshots', function() { browser.url(config.baseUrl+"?debug&style="+helper.getStyleUrl([ "geojson:example" ])); + browser.alertAccept(); browser.waitForExist(".maputnik-toolbar-link"); browser.flushReactUpdates();