Files
clawhub/playwright.config.test.ts
T
Patrick Erichsen 71156751ff docs: serve ClawHub docs with shared OpenClaw renderer (#2609)
* feat: serve clawhub docs under docs route

* feat: build ClawHub docs with openclaw docs

* chore: remove unused nav icon export

* docs: use ClawHub logo in docs shell

* docs: prepare ClawHub docs for Mintlify

* test: use static preview readiness for playwright

* chore: ignore current esbuild audit advisories

* docs: build ClawHub docs with shared OpenClaw renderer

* test: print package publish e2e failures
2026-06-12 19:02:44 -07:00

10 lines
385 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?.url).toBe("http://127.0.0.1:4173/favicon.ico");
});