import { defineConfig, devices } from "@playwright/test"; export default defineConfig({ testDir: "./e2e", timeout: 60_000, expect: { timeout: 30_000 }, fullyParallel: false, workers: 1, reporter: "list", use: { ...devices["Desktop Chrome"], screenshot: "only-on-failure", trace: "retain-on-failure", video: "retain-on-failure", }, projects: [ { name: "chromium", use: { ...devices["Desktop Chrome"] }, }, { name: "firefox", use: { ...devices["Desktop Firefox"] }, }, ], });