From 5ef661a06fe8107a34c62cbb9bc7b6d3576b2dbc Mon Sep 17 00:00:00 2001 From: Kamil Krzywda Date: Sun, 20 Sep 2026 11:48:36 +0000 Subject: [PATCH] Fix queue.spec.ts test 1: refuel to full before the long leg (fuel 409 was timing out the fly poll) --- e2e/queue.spec.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/e2e/queue.spec.ts b/e2e/queue.spec.ts index c1f7029..18fc5aa 100644 --- a/e2e/queue.spec.ts +++ b/e2e/queue.spec.ts @@ -200,6 +200,10 @@ test('queue display + cancel via UI (ISS-043 part 2)', async ({ page }) => { test.setTimeout(300_000); // self-heal can take minutes after an interrupted run await flyHomeViaApi(page); // deterministic: the starter sits grounded at EDDF + // Full tank before departure — keeps the long EDDF→LEMD leg fuel-feasible (same as tests 2 & 3). + const refuel = await page.request.post('/api/planes/plane-starter/refuel'); + expect(refuel.status()).toBe(200); + const pkg = await createPackage(page, HUB, DEST); await page.goto('/');