From bdc6489db4a4486da41519b4514820014b4184d0 Mon Sep 17 00:00:00 2001 From: orangemug Date: Wed, 1 Aug 2018 20:59:42 +0100 Subject: [PATCH] Disable survey in test runner, which was making the tests fail. --- test/functional/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/functional/index.js b/test/functional/index.js index 7f9b532..5522706 100644 --- a/test/functional/index.js +++ b/test/functional/index.js @@ -13,6 +13,9 @@ describe('maputnik', function() { "geojson:example", "raster:raster" ])); + browser.execute(function() { + localStorage.setItem("survey", true); + }); browser.waitForExist(".maputnik-toolbar-link"); browser.flushReactUpdates(); });