File
Blob: tests/e2e/playwright.config.ts
| 1 | import { defineConfig, devices } from "@playwright/test"; |
| 2 | |
| 3 | export default defineConfig({ |
| 4 | testDir: "./specs", |
| 5 | globalSetup: "./global-setup.ts", |
| 6 | fullyParallel: false, |
| 7 | workers: 1, |
| 8 | retries: 0, |
| 9 | timeout: 60_000, |
| 10 | globalTimeout: 300_000, |
| 11 | reporter: [["list"], ["html", { open: "never" }]], |
| 12 | use: { |
| 13 | baseURL: process.env.ANVIL_E2E_BASE_URL, |
| 14 | colorScheme: "dark", |
| 15 | viewport: { width: 1280, height: 720 }, |
| 16 | trace: "retain-on-failure", |
| 17 | screenshot: "only-on-failure", |
| 18 | }, |
| 19 | projects: [{ name: "chromium", use: { ...devices["Desktop Chrome"] } }], |
| 20 | }); |