From 138f685293270f5fb143a6075ee6ddae0007406a Mon Sep 17 00:00:00 2001 From: shelly_goldblit Date: Sun, 31 Dec 2023 11:42:47 +0200 Subject: [PATCH] fix more tests --- cypress/e2e/map.cy.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/cypress/e2e/map.cy.ts b/cypress/e2e/map.cy.ts index f1700c1a..1a11dfe2 100644 --- a/cypress/e2e/map.cy.ts +++ b/cypress/e2e/map.cy.ts @@ -18,6 +18,7 @@ describe("map", () => { let zoomLevel = 12.37; when.setStyle("geojson", zoomLevel); then(get.elementByTestId("maplibre:ctrl-zoom")).shouldBeVisible(); + when.clickZoomIn(); then(get.elementByTestId("maplibre:ctrl-zoom")).shouldContainText( "Zoom: " + (zoomLevel + 1) );