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 `open-timeout.opfs.spec.ts`,
13 `hydration-commit-oracle.opfs.spec.ts`,
14 ],
15 timeout: 60_000,
16 fullyParallel: false,
17 workers: 1,
18 use: {
19 baseURL,
20 ...(browserChannel ? { channel: browserChannel } : {}),
21 headless: true,
22 trace: `retain-on-failure`,
23 },
24 webServer: {
25 command: `vite --config vite.opfs.config.ts --host 127.0.0.1 --port 4185`,
26 reuseExistingServer: false,
27 timeout: 120_000,
28 url: `${baseURL}/e2e/shared-driver-fairness.opfs.html`,
29 },
30})