Debian Codegraph @

test/playwright/playwright.config.mjs

raw
1 /** @type {import("@playwright/test").PlaywrightTestConfig} */
2 const config = {
3 projects: [
4 {
5 name: "firefox",
6 use: {browserName: "firefox"}
7 },
8 {
9 name: "chromium",
10 use: {browserName: "chromium"}
11 },
12 {
13 name: "webkit",
14 use: {browserName: "webkit"}
15 }
16 ],
17 reporter: [["html", {open: "never", outputFolder: "playwright-report"}]],
18 retries: 0,
19 testDir: "./tests",
20 timeout: 30000,
21 use: {
22 baseURL: "http://localhost:11334",
23 rspamdPasswords: {
24 enablePassword: "enable",
25 readOnlyPassword: "read-only",
26 },
27 screenshot: "on-first-failure",
28 },
29 };
30
31 export default config;