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();