Update tests for WebdriverIO v5

This commit is contained in:
pathmapper
2019-06-08 07:19:18 +02:00
parent 924b14621a
commit e9a8b094a2
6 changed files with 131 additions and 82 deletions

View File

@@ -11,11 +11,12 @@ describe('maputnik', function() {
"geojson:example",
"raster:raster"
]));
browser.alertAccept();
browser.acceptAlert();
browser.execute(function() {
localStorage.setItem("survey", true);
});
browser.waitForExist(".maputnik-toolbar-link");
const elem = $(".maputnik-toolbar-link");
elem.waitForExist();
browser.flushReactUpdates();
});