From 70a726d546cc9529baa0f7e154defcedfc2659cb Mon Sep 17 00:00:00 2001 From: Kamil Krzywda Date: Wed, 23 Sep 2026 15:31:20 +0000 Subject: [PATCH] =?UTF-8?q?fix(e2e):=20lift=20zoom=20floor=20for=20antimer?= =?UTF-8?q?idian=20hover=20test=20(EDDF=E2=86=92NFTF=20spans=20~176=C2=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- e2e/hover.spec.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/e2e/hover.spec.ts b/e2e/hover.spec.ts index a7c1af6..f646c76 100644 --- a/e2e/hover.spec.ts +++ b/e2e/hover.spec.ts @@ -380,6 +380,10 @@ test('hovering an antimeridian-crossing package draws one continuous trace, no c await expect(row, 'the hook-created package appears in the list').toBeVisible({ timeout: 15_000 }); // fitToAirports unwraps crossing pairs (ISS-120) so both endpoints are in-viewport. + // EDDF→NFTF spans ~176° of longitude — it can't fit at MIN_ZOOM=3 (components/Map.tsx), so the camera + // clamps to z=3 and both endpoints are off-viewport → queryRenderedFeatures never sees the trace. + // Lift the floor for this test's camera; quantization stays ≤~0.02° even near z=0, below EPS (:214–228). + await page.evaluate(() => (window as any).__flightMap?.setMinZoom(0)); await fitToAirports(page, [HUB, 'NFTF']); await row.hover();