summaryrefslogtreecommitdiff
path: root/tools/copland/playwright.config.mjs
diff options
context:
space:
mode:
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,
+ },
+});
+