From d61d0a5795b3c16ac654b65d718de7eb14510c26 Mon Sep 17 00:00:00 2001 From: orangemug Date: Sat, 26 Oct 2019 18:09:07 +0100 Subject: [PATCH] Fix test for range slider. --- test/functional/layers/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/layers/index.js b/test/functional/layers/index.js index 7665bc1..1186e41 100644 --- a/test/functional/layers/index.js +++ b/test/functional/layers/index.js @@ -200,7 +200,7 @@ describe("layers", function() { const elem = $(wd.$("layer-list-item:background:"+bgId)); elem.click(); - browser.setValueSafe(wd.$("min-zoom", "input"), 1) + browser.setValueSafe(wd.$("min-zoom", 'input[type="text"]'), 1) const elem2 = $(wd.$("layer-editor.layer-id", "input")); elem2.click(); @@ -232,7 +232,7 @@ describe("layers", function() { const elem = $(wd.$("layer-list-item:background:"+bgId)); elem.click(); - browser.setValueSafe(wd.$("max-zoom", "input"), 1) + browser.setValueSafe(wd.$("max-zoom", 'input[type="text"]'), 1) const elem2 = $(wd.$("layer-editor.layer-id", "input")); elem2.click();