Move things back to where this will still work.

This commit is contained in:
HarelM
2026-07-08 15:05:35 +03:00
parent 4249e9beb9
commit 8344a30f5d
21 changed files with 80 additions and 65 deletions
+6 -4
View File
@@ -1,9 +1,11 @@
import { MaputnikDriver } from "./maputnik-driver";
test.describe("map", () => {
const test = it;
describe("map", () => {
const { beforeAndAfter, get, when, then } = new MaputnikDriver();
beforeAndAfter();
test.describe("zoom level", () => {
describe("zoom level", () => {
test("via url", () => {
const zoomLevel = 12.37;
when.setStyle("geojson", zoomLevel);
@@ -39,13 +41,13 @@ test.describe("map", () => {
});
});
test.describe("search", () => {
describe("search", () => {
test("should exist", () => {
then(get.searchControl()).shouldBeVisible();
});
});
test.describe("popup", () => {
describe("popup", () => {
beforeEach(() => {
when.setStyle("rectangles");
then(get.locationHash().should("exist"));