Files
docmd-io--docmd/packages/plugins/threads/playwright.config.ts
T
wehub-resource-sync 6db8fca185
docmd CI verification / verify (push) Failing after 0s
chore: import upstream snapshot with attribution
2026-07-13 12:31:55 +08:00

27 lines
561 B
TypeScript

import { defineConfig } from "@playwright/test";
export default defineConfig({
testDir: "e2e",
timeout: 30_000,
retries: 0,
workers: 1,
use: {
baseURL: "http://localhost:4175",
headless: true,
screenshot: "only-on-failure",
},
projects: [
{
name: "chromium",
use: { browserName: "chromium" },
},
],
webServer: {
command: "pnpm --filter @docmd/playground run dev --port 4175",
port: 4175,
reuseExistingServer: !process.env["CI"],
timeout: 30_000,
cwd: "../../../", // monorepo root
},
});