Use number input again for min/max-zoom tests

This commit is contained in:
pathmapper 2019-06-13 07:18:35 +02:00
parent 559d4618d1
commit 92bfee4bcc

View file

@ -200,8 +200,7 @@ describe("layers", function() {
const elem = $(wd.$("layer-list-item:background:"+bgId)); const elem = $(wd.$("layer-list-item:background:"+bgId));
elem.click(); elem.click();
// zoom level number input currently fails https://github.com/webdriverio/webdriverio/issues/4059, this is whystring input "1" is used browser.setValueSafe(wd.$("min-zoom", "input"), 1)
browser.setValueSafe(wd.$("min-zoom", "input"), "1")
const elem2 = $(wd.$("layer-editor.layer-id", "input")); const elem2 = $(wd.$("layer-editor.layer-id", "input"));
elem2.click(); elem2.click();
@ -233,8 +232,7 @@ describe("layers", function() {
const elem = $(wd.$("layer-list-item:background:"+bgId)); const elem = $(wd.$("layer-list-item:background:"+bgId));
elem.click(); elem.click();
// zoom level number input currently fails https://github.com/webdriverio/webdriverio/issues/4059, this is whystring input "1" is used browser.setValueSafe(wd.$("max-zoom", "input"), 1)
browser.setValueSafe(wd.$("max-zoom", "input"), "1")
const elem2 = $(wd.$("layer-editor.layer-id", "input")); const elem2 = $(wd.$("layer-editor.layer-id", "input"));
elem2.click(); elem2.click();