Files
probably-rendering-one-more…/apps/waterfall-wiki/tests/guidance-workspace.test.ts
codex-bot 0c8cf7c4cd
creative workspace review checks / verify (pull_request) Failing after 20m31s
Share the integration browser while isolating complete workspace UI checks
2026-10-30 19:39:33 +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(); }
});