From 1525807d06ac251a448e5bdec61b425a5c6d9b2a Mon Sep 17 00:00:00 2001 From: orangemug Date: Sat, 6 Oct 2018 13:59:50 +0100 Subject: [PATCH] setValue -> selectByValue --- test/functional/modals/index.js | 2 +- test/functional/screenshots/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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")