Repository Public
1import { defineConfig, devices } from "@playwright/test";23// Started by e2e/run.mjs, which provides the servers and MCC_E2E_ORIGIN. One worker: the specs share one database4// and build on each other (owner setup first).5export default defineConfig({6 testDir: "./e2e/specs",7 outputDir: "./test-results/artifacts",8 fullyParallel: false,9 workers: 1,10 retries: 0,11 timeout: 60_000,12 expect: { timeout: 10_000 },13 reporter: [["list"]],14 use: {15 baseURL: process.env.MCC_E2E_ORIGIN ?? "http://localhost:8750",16 locale: "fr-CA",17 timezoneId: "America/Toronto",18 trace: "retain-on-failure",19 screenshot: "only-on-failure",20 ...devices["Desktop Chrome"],21 viewport: { width: 1440, height: 900 },22 },23});24