diff --git a/ui/frontend/tests/e2e/cargo-routes.spec.ts b/ui/frontend/tests/e2e/cargo-routes.spec.ts index e6189b4..49caf98 100644 --- a/ui/frontend/tests/e2e/cargo-routes.spec.ts +++ b/ui/frontend/tests/e2e/cargo-routes.spec.ts @@ -457,8 +457,10 @@ test("cargo-routes flow: pick a destination, arrow appears, reload restores", as lines: prims.filter((p) => p.kind === "line").length, }; }); + // `total` also counts the selected source planet's selection ring + // (F4 — one circle), so it is one more than the planet + line prims. await expect.poll(debugLineCount, { timeout: 15000 }).toEqual({ - total: 7, + total: 8, lines: 3, });