aboutsummaryrefslogtreecommitdiffstats
path: root/playwright.config.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-11 17:51:24 -0800
committerAdam Soltys <[email protected]>2026-02-11 17:51:24 -0800
commit13466248004327e9a026cb89f94926f9b060d1c1 (patch)
tree47b4972c33809ccdf866b043c92cd3e0ecf5dcd0 /playwright.config.ts
parent3aa9ce1b5985397d7f568887ec6f881df13c1034 (diff)
downloadcoinos-ui-13466248004327e9a026cb89f94926f9b060d1c1.tar.gz
coinos-ui-13466248004327e9a026cb89f94926f9b060d1c1.zip
linting
Diffstat (limited to 'playwright.config.ts')
-rw-r--r--playwright.config.ts60
1 files changed, 30 insertions, 30 deletions
diff --git a/playwright.config.ts b/playwright.config.ts
index 3b1be109..cd34dcb2 100644
--- a/playwright.config.ts
+++ b/playwright.config.ts
@@ -6,34 +6,34 @@ const baseURL = process.env.E2E_BASE_URL || `http://${host}:${port}`;
const slowMo = Number(process.env.E2E_SLOWMO || 0);
export default defineConfig({
- testDir: "./test/e2e",
- timeout: 30_000,
- expect: {
- timeout: 10_000,
- },
- fullyParallel: true,
- forbidOnly: !!process.env.CI,
- retries: process.env.CI ? 2 : 0,
- workers: process.env.CI ? 1 : undefined,
- reporter: [["list"]],
- use: {
- baseURL,
- trace: "on-first-retry",
- launchOptions: slowMo > 0 ? { slowMo } : undefined,
- },
- projects: [
- {
- name: "chromium",
- use: { ...devices["Desktop Chrome"] },
- },
- ],
- webServer: process.env.E2E_SKIP_WEBSERVER
- ? undefined
- : {
- command: `PUBLIC_RECAPTCHA_SITE_KEY= bunx vite dev --host ${host} --port ${port}`,
- url: baseURL,
- reuseExistingServer: true,
- stdout: "pipe",
- stderr: "pipe",
- },
+ testDir: "./test/e2e",
+ timeout: 30_000,
+ expect: {
+ timeout: 10_000,
+ },
+ fullyParallel: true,
+ forbidOnly: !!process.env.CI,
+ retries: process.env.CI ? 2 : 0,
+ workers: process.env.CI ? 1 : undefined,
+ reporter: [["list"]],
+ use: {
+ baseURL,
+ trace: "on-first-retry",
+ launchOptions: slowMo > 0 ? { slowMo } : undefined,
+ },
+ projects: [
+ {
+ name: "chromium",
+ use: { ...devices["Desktop Chrome"] },
+ },
+ ],
+ webServer: process.env.E2E_SKIP_WEBSERVER
+ ? undefined
+ : {
+ command: `PUBLIC_RECAPTCHA_SITE_KEY= bunx vite dev --host ${host} --port ${port}`,
+ url: baseURL,
+ reuseExistingServer: true,
+ stdout: "pipe",
+ stderr: "pipe",
+ },
});