diff --git a/test/functional/modals/index.js b/test/functional/modals/index.js index 2822434..0403b22 100644 --- a/test/functional/modals/index.js +++ b/test/functional/modals/index.js @@ -100,7 +100,7 @@ describe("modals", function() { "geojson:example" ])); - browser.setValue(wd.$("nav:inspect", "select"), "inspect"); + browser.selectByValue(wd.$("nav:inspect", "select"), "inspect"); }) }) diff --git a/test/functional/screenshots/index.js b/test/functional/screenshots/index.js index 5152a95..093802e 100644 --- a/test/functional/screenshots/index.js +++ b/test/functional/screenshots/index.js @@ -83,7 +83,7 @@ describe('screenshots', function() { browser.waitForExist(".maputnik-toolbar-link"); browser.flushReactUpdates(); - browser.setValue(wd.$("nav:inspect", "select"), "inspect"); + browser.selectByValue(wd.$("nav:inspect", "select"), "inspect"); browser.flushReactUpdates(); browser.takeScreenShot("/inspect.png")