From 92bfee4bccc3468dc83045c296510ae9c30f512c Mon Sep 17 00:00:00 2001 From: pathmapper Date: Thu, 13 Jun 2019 07:18:35 +0200 Subject: [PATCH] Use number input again for min/max-zoom tests --- test/functional/layers/index.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/functional/layers/index.js b/test/functional/layers/index.js index 214b8004..7665bc1c 100644 --- a/test/functional/layers/index.js +++ b/test/functional/layers/index.js @@ -200,8 +200,7 @@ describe("layers", function() { const elem = $(wd.$("layer-list-item:background:"+bgId)); 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")); elem2.click(); @@ -233,8 +232,7 @@ describe("layers", function() { const elem = $(wd.$("layer-list-item:background:"+bgId)); 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")); elem2.click();