aboutsummaryrefslogtreecommitdiff
path: root/playwright.config.ts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--playwright.config.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/playwright.config.ts b/playwright.config.ts
new file mode 100644
index 0000000..d1cd1b3
--- /dev/null
+++ b/playwright.config.ts
@@ -0,0 +1,14 @@
+import { defineConfig } from '@playwright/test';
+
+export default defineConfig({
+ testDir: './tests',
+ fullyParallel: false,
+ workers: 1,
+ use: {
+ baseURL: 'http://127.0.0.1:5173',
+ viewport: { width: 1440, height: 1000 },
+ launchOptions: { args: ['--no-sandbox', '--use-angle=swiftshader', '--enable-unsafe-swiftshader'] },
+ screenshot: 'only-on-failure',
+ },
+ webServer: { command: 'npm run dev -- --port 5173 --strictPort', url: 'http://127.0.0.1:5173', reuseExistingServer: true },
+});