Buckets:
| import { defineConfig, devices } from "@playwright/test" | |
| const port = Number(process.env.PLAYWRIGHT_PORT ?? 3000) | |
| const baseURL = process.env.PLAYWRIGHT_BASE_URL ?? `http://127.0.0.1:${port}` | |
| const serverHost = process.env.PLAYWRIGHT_SERVER_HOST ?? "127.0.0.1" | |
| const serverPort = process.env.PLAYWRIGHT_SERVER_PORT ?? "4096" | |
| const command = `bun run dev -- --host 0.0.0.0 --port ${port}` | |
| const reuse = !process.env.CI | |
| const workers = Number(process.env.PLAYWRIGHT_WORKERS ?? (process.env.CI ? 5 : 0)) || undefined | |
| export default defineConfig({ | |
| testDir: "./e2e", | |
| outputDir: "./e2e/test-results", | |
| timeout: 60_000, | |
| expect: { | |
| timeout: 10_000, | |
| }, | |
| fullyParallel: process.env.PLAYWRIGHT_FULLY_PARALLEL === "1", | |
| forbidOnly: !!process.env.CI, | |
| retries: process.env.CI ? 2 : 0, | |
| workers, | |
| reporter: [["html", { outputFolder: "e2e/playwright-report", open: "never" }], ["line"]], | |
| webServer: { | |
| command, | |
| url: baseURL, | |
| reuseExistingServer: reuse, | |
| timeout: 120_000, | |
| env: { | |
| VITE_OPENCODE_SERVER_HOST: serverHost, | |
| VITE_OPENCODE_SERVER_PORT: serverPort, | |
| }, | |
| }, | |
| use: { | |
| baseURL, | |
| trace: "on-first-retry", | |
| screenshot: "only-on-failure", | |
| video: "retain-on-failure", | |
| }, | |
| projects: [ | |
| { | |
| name: "chromium", | |
| use: { ...devices["Desktop Chrome"] }, | |
| }, | |
| ], | |
| }) | |
Xet Storage Details
- Size:
- 1.33 kB
- Xet hash:
- 325ab063ad63d170c268fa6f1c06d6780021baa75744a5ae146f966e2c485de4
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.