summaryrefslogtreecommitdiff
path: root/tools/copland/playwright.config.mjs
diff options
context:
space:
mode:
authorcashmere <cashmere@autistici.org>2026-09-04 09:05:24 +0200
committercashmere <cashmere@autistici.org>2026-09-04 09:05:24 +0200
commit4f49b16079b27d7ce633619e4cddfdf2bffbc952 (patch)
treec296c1e7f3c3e2f6859c6d3a1b1b208779b89679 /tools/copland/playwright.config.mjs
downloadrelic-master.tar.gz
initial commitHEADmaster
Diffstat (limited to 'tools/copland/playwright.config.mjs')
-rw-r--r--tools/copland/playwright.config.mjs20
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,
+ },
+});
+