mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-11-10 03:31:55 +01:00
Use number input again for min/max-zoom tests
This commit is contained in:
parent
559d4618d1
commit
92bfee4bcc
1 changed files with 2 additions and 4 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue