Files
probably-rendering-one-more…/apps/waterfall-wiki/tests/guidance-workspace.test.ts
T
codex-bot 429e78c722
creative workspace review checks / verify (pull_request) Successful in 23m26s
Run complete workspace UI assertions in an isolated context of the integration browser
2026-10-30 19:37:59 +08:00

14 lines
651 B
TypeScript

import { test } from "node:test";
import { chromium } from "playwright-core";
import { verifyGuidanceWorkspaceUI } from "./guidance-workspace-ui";
const base = process.env.WORKSPACE_TEST_URL;
test("workspace filters, reading tabs, account states and editor work on desktop and mobile", {skip: !base}, async () => {
const browser = await chromium.launch({
executablePath: process.env.CHROMIUM_PATH || "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome",
headless: true,
args: ["--no-sandbox", "--disable-dev-shm-usage"],
});
try { await verifyGuidanceWorkspaceUI(base!, browser); }
finally { await browser.close(); }
});