mirror of
https://github.com/maputnik/editor.git
synced 2026-08-28 07:57:28 +00:00
fix more tests
This commit is contained in:
@@ -18,6 +18,7 @@ describe("map", () => {
|
|||||||
let zoomLevel = 12.37;
|
let zoomLevel = 12.37;
|
||||||
when.setStyle("geojson", zoomLevel);
|
when.setStyle("geojson", zoomLevel);
|
||||||
then(get.elementByTestId("maplibre:ctrl-zoom")).shouldBeVisible();
|
then(get.elementByTestId("maplibre:ctrl-zoom")).shouldBeVisible();
|
||||||
|
when.clickZoomIn();
|
||||||
then(get.elementByTestId("maplibre:ctrl-zoom")).shouldContainText(
|
then(get.elementByTestId("maplibre:ctrl-zoom")).shouldContainText(
|
||||||
"Zoom: " + (zoomLevel + 1)
|
"Zoom: " + (zoomLevel + 1)
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user