test(e2e): a page load the machine had no buffer for is tried again

net::ERR_NO_BUFFER_SPACE stopped a release at its first page with nothing else running, and the
unchanged rerun passed. Every page load of the suite now goes through one helper, held by a test.
This commit is contained in:
2026-11-04 00:26:50 +01:00
parent 643f305814
commit f2de8f73aa
7 changed files with 81 additions and 19 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
import { readFileSync } from "node:fs";
import { expect, type Page } from "@playwright/test";
import { gotoRetrying } from "./retryConnect";
/** The plain member's saved session (global.setup.ts signs it in); `member.spec.ts` and
* `devices.spec.ts` run from it. */
@@ -16,7 +17,7 @@ export function seeded(key: string): string[] {
/** Open the app and wait for the authenticated shell (the nav rail) to be ready. */
export async function openApp(page: Page, path = "/"): Promise<void> {
await page.goto(path);
await gotoRetrying(page, path);
await expect(page.getByTestId("nav-feed")).toBeVisible();
}