setValue -> selectByValue

This commit is contained in:
orangemug 2018-10-06 13:59:50 +01:00
parent a356bfd601
commit 1525807d06
2 changed files with 2 additions and 2 deletions

View file

@ -100,7 +100,7 @@ describe("modals", function() {
"geojson:example" "geojson:example"
])); ]));
browser.setValue(wd.$("nav:inspect", "select"), "inspect"); browser.selectByValue(wd.$("nav:inspect", "select"), "inspect");
}) })
}) })

View file

@ -83,7 +83,7 @@ describe('screenshots', function() {
browser.waitForExist(".maputnik-toolbar-link"); browser.waitForExist(".maputnik-toolbar-link");
browser.flushReactUpdates(); browser.flushReactUpdates();
browser.setValue(wd.$("nav:inspect", "select"), "inspect"); browser.selectByValue(wd.$("nav:inspect", "select"), "inspect");
browser.flushReactUpdates(); browser.flushReactUpdates();
browser.takeScreenShot("/inspect.png") browser.takeScreenShot("/inspect.png")