diff options
| author | cashmere <cashmere@autistici.org> | 2026-09-04 09:05:24 +0200 |
|---|---|---|
| committer | cashmere <cashmere@autistici.org> | 2026-09-04 09:05:24 +0200 |
| commit | 4f49b16079b27d7ce633619e4cddfdf2bffbc952 (patch) | |
| tree | c296c1e7f3c3e2f6859c6d3a1b1b208779b89679 /tools/copland/playwright.config.mjs | |
| download | relic-master.tar.gz | |
Diffstat (limited to 'tools/copland/playwright.config.mjs')
| -rw-r--r-- | tools/copland/playwright.config.mjs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/copland/playwright.config.mjs b/tools/copland/playwright.config.mjs new file mode 100644 index 0000000..979000a --- /dev/null +++ b/tools/copland/playwright.config.mjs @@ -0,0 +1,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, + }, +}); + |
