hezarfen_frontend
Clone
https://git.tahinli.com/archive/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiB5fcd955Burak Boduroğlu2 months ago730 commits
| 1 | import { defineConfig, devices } from "@playwright/test"; |
| 2 | |
| 3 | export default defineConfig({ |
| 4 | testDir: "./e2e", |
| 5 | fullyParallel: false, |
| 6 | retries: process.env.CI ? 2 : 0, |
| 7 | use: { |
| 8 | baseURL: "http://127.0.0.1:4173", |
| 9 | trace: "on-first-retry", |
| 10 | }, |
| 11 | projects: [ |
| 12 | { name: "desktop", use: { ...devices["Desktop Chrome"] } }, |
| 13 | { name: "mobile", use: { ...devices["iPhone 13"], browserName: "chromium" } }, |
| 14 | ], |
| 15 | webServer: { |
| 16 | command: "bun run dev -- --host 127.0.0.1 --port 4173", |
| 17 | url: "http://127.0.0.1:4173/login", |
| 18 | reuseExistingServer: !process.env.CI, |
| 19 | timeout: 30_000, |
| 20 | }, |
| 21 | }); |