Open History to see the last commit
1import { defineConfig } from '@playwright/test'
2
3const baseURL = `http://127.0.0.1:4185`
4const browserChannel =
5 process.env.PLAYWRIGHT_CHANNEL ?? (process.env.CI ? undefined : `chrome`)
6
7export default defineConfig({
8 testDir: `./e2e`,
9 testMatch: [
10 `shared-driver-fairness-oracle.opfs.spec.ts`,
11 `remote-subset-two-tab.opfs.spec.ts`,
12 `cache-claim-notice.opfs.spec.ts`,
13 `open-timeout.opfs.spec.ts`,
14 `hydration-commit-oracle.opfs.spec.ts`,
15 `leader-close-oracle.opfs.spec.ts`,
16 ],
17 timeout: 60_000,
18 fullyParallel: false,
19 workers: 1,
20 use: {
21 baseURL,
22 ...(browserChannel ? { channel: browserChannel } : {}),
23 headless: true,
24 trace: `retain-on-failure`,
25 },
26 webServer: {
27 command: `vite --config vite.opfs.config.ts --host 127.0.0.1 --port 4185`,
28 reuseExistingServer: false,
29 timeout: 120_000,
30 url: `${baseURL}/e2e/shared-driver-fairness.opfs.html`,
31 },
32})