Repository Public
1import { defineConfig, devices } from "@playwright/test";23export default defineConfig({4 testDir: "e2e", timeout: 60_000, retries: 1, reporter: "list", workers: 1,5 // Outside the project: files written under it would make the dev server recompile and reload pages mid-test.6 outputDir: "/tmp/spcal-test-results",7 use: { baseURL: process.env.PW_BASE_URL ?? "http://localhost:8661", locale: "fr-CA", timezoneId: "America/Toronto", reducedMotion: "reduce" },8 projects: [9 { name: "desktop", use: { ...devices["Desktop Chrome"] } },10 { name: "mobile", use: { ...devices["Pixel 7"] } },11 ],12});13