From 3b4add760c825a0f41ef647f60e3cd8d6a3f3edd Mon Sep 17 00:00:00 2001 From: arsam Date: Fri, 18 Sep 2026 23:08:57 +0330 Subject: [PATCH] Import project configuration: playwright.config.ts Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality. --- playwright.config.ts | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 playwright.config.ts diff --git a/playwright.config.ts b/playwright.config.ts new file mode 100644 index 0000000..3f8a871 --- /dev/null +++ b/playwright.config.ts @@ -0,0 +1,25 @@ +import { defineConfig, devices } from "@playwright/test"; + +export default defineConfig({ + testDir: "./tests/e2e", + timeout: 30_000, + expect: { timeout: 15_000 }, + use: { + baseURL: "http://127.0.0.1:3107", + channel: "chrome", + contextOptions: { + reducedMotion: "reduce", + }, + trace: "on-first-retry", + }, + webServer: { + command: "NEXT_DIST_DIR=.next-dev npm run dev -- -p 3107", + url: "http://127.0.0.1:3107", + reuseExistingServer: !process.env.CI, + timeout: 120_000, + }, + projects: [ + { name: "chromium", use: { ...devices["Desktop Chrome"] } }, + { name: "mobile", use: { ...devices["Pixel 5"] } }, + ], +});