From 6ea2ae867b06b60f4124928f78334392717fef8c Mon Sep 17 00:00:00 2001 From: Marc Emmanuel Date: Fri, 23 Jan 2026 14:44:56 +0100 Subject: [PATCH] Update snapshots --- tests/e2e/layers.spec.ts | 2 +- tests/e2e/layers.spec.ts-snapshots/anchors.html | 2 +- tests/e2e/layers.spec.ts-snapshots/borders.html | 2 +- tests/e2e/layers.spec.ts-snapshots/ice.html | 2 +- tests/e2e/layers.spec.ts-snapshots/icons.html | 2 +- tests/e2e/layers.spec.ts-snapshots/regions.html | 2 +- tests/e2e/layers.spec.ts-snapshots/routes.html | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/e2e/layers.spec.ts b/tests/e2e/layers.spec.ts index b6a270bf..094720ad 100644 --- a/tests/e2e/layers.spec.ts +++ b/tests/e2e/layers.spec.ts @@ -15,7 +15,7 @@ test.describe('map layers', () => { // NOTE: // - We use a fixed seed ("test-seed") to make map generation deterministic for snapshot tests. // - Snapshots are OS-independent (configured in playwright.config.ts). - await page.goto('/?seed=test-seed') + await page.goto('/?seed=test-seed&&width=1280&height=720') // Wait for map generation to complete by checking window.mapId // mapId is exposed on window at the very end of showStatistics() diff --git a/tests/e2e/layers.spec.ts-snapshots/anchors.html b/tests/e2e/layers.spec.ts-snapshots/anchors.html index 7c2df822..3037abb5 100644 --- a/tests/e2e/layers.spec.ts-snapshots/anchors.html +++ b/tests/e2e/layers.spec.ts-snapshots/anchors.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/tests/e2e/layers.spec.ts-snapshots/borders.html b/tests/e2e/layers.spec.ts-snapshots/borders.html index 92b98dc8..6e5c5003 100644 --- a/tests/e2e/layers.spec.ts-snapshots/borders.html +++ b/tests/e2e/layers.spec.ts-snapshots/borders.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/tests/e2e/layers.spec.ts-snapshots/ice.html b/tests/e2e/layers.spec.ts-snapshots/ice.html index 72ac77e8..1729b6ff 100644 --- a/tests/e2e/layers.spec.ts-snapshots/ice.html +++ b/tests/e2e/layers.spec.ts-snapshots/ice.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/tests/e2e/layers.spec.ts-snapshots/icons.html b/tests/e2e/layers.spec.ts-snapshots/icons.html index 629db2b0..c759dc38 100644 --- a/tests/e2e/layers.spec.ts-snapshots/icons.html +++ b/tests/e2e/layers.spec.ts-snapshots/icons.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/tests/e2e/layers.spec.ts-snapshots/regions.html b/tests/e2e/layers.spec.ts-snapshots/regions.html index 848ce4a3..86187361 100644 --- a/tests/e2e/layers.spec.ts-snapshots/regions.html +++ b/tests/e2e/layers.spec.ts-snapshots/regions.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/tests/e2e/layers.spec.ts-snapshots/routes.html b/tests/e2e/layers.spec.ts-snapshots/routes.html index 6739112c..16e6f5ec 100644 --- a/tests/e2e/layers.spec.ts-snapshots/routes.html +++ b/tests/e2e/layers.spec.ts-snapshots/routes.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file