summaryrefslogtreecommitdiff
path: root/tools/copland/playwright.config.mjs
blob: 979000a9c0b38eae16e9e1b0d47336eac5cc60c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { defineConfig } from "@playwright/test";

export default defineConfig({
  testDir: "./tests",
  testMatch: "visual.spec.mjs",
  outputDir: "test-output",
  reporter: [["list"], ["html", { open: "never" }]],
  use: {
    baseURL: "http://127.0.0.1:18082",
    browserName: "chromium",
    trace: "retain-on-failure",
  },
  webServer: {
    command: "COPLAND_TEST_PORT=18082 ./tests/serve-fixture.sh",
    url: "http://127.0.0.1:18082/",
    reuseExistingServer: false,
    timeout: 30_000,
  },
});