Files
clawhub/playwright.config.test.ts
T
Patrick Erichsen 898b3bebba test: stabilize local-auth e2e flake paths
Stabilize local-auth e2e tests under CI/Testbox pressure by hardening publish scan enqueue recovery, bounded publish navigation, route/hydration helpers, and local-auth readiness probes.
2026-06-23 16:26:54 -07:00

12 lines
521 B
TypeScript

import { expect, test } from "vitest";
import config from "./playwright.config";
test("Playwright waits for a static preview asset before running browser smoke tests", () => {
expect(config.webServer).toBeTruthy();
const webServer = Array.isArray(config.webServer) ? config.webServer[0] : config.webServer;
expect(webServer?.command).toBe("HOST=127.0.0.1 PORT=4173 bun .output/server/index.mjs");
expect(webServer?.url).toBe("http://127.0.0.1:4173/favicon.ico");
expect(webServer?.timeout).toBe(300_000);
});