This commit is contained in:
Ibrahima G. Coulibaly
2024-06-28 16:44:18 +01:00
parent f88536ebe3
commit c252ed3d20
4 changed files with 16 additions and 16 deletions

View File

@@ -1,14 +1,12 @@
import { defineConfig, devices } from '@playwright/test';
const isCI = !!process.env.CI;
export default defineConfig({
testDir: './src',
testMatch: /\.e2e\.(spec\.)?ts$/,
fullyParallel: true,
retries: 1,
use: {
baseURL: isCI ? 'http://localhost:4173' : 'http://localhost:5173',
baseURL: 'http://localhost:4173',
trace: 'on-first-retry'
},
webServer: {