fix(e2e): fast-forward the phases spec at MID scale; retry set-health on transient 500
CI / build + unit + e2e (pull_request) Successful in 7m27s
CI / build + unit + e2e (pull_request) Successful in 7m27s
This commit is contained in:
@@ -167,6 +167,7 @@ test('marker shows the takeoff and landing phases on a dispatched leg', async ({
|
||||
// --- Landing: fast-forward through the cruise to just before the landing window, then drop back
|
||||
// to OBS so the hold at the destination gate is observable. ---
|
||||
const landingStart = T_dep + ph.takeoffMs + ph.cruiseMs;
|
||||
await setScale(page, MID); // fast-forward through takeoff hold + cruise (pure arrival wait)
|
||||
await expect.poll(async () => {
|
||||
const body = await getState(page);
|
||||
const p = body.planes.find((x) => x.id === STARTER)!;
|
||||
|
||||
Reference in New Issue
Block a user