This commit is contained in:
Ibrahima G. Coulibaly 2024-06-28 16:25:24 +01:00
commit 7bd8e4a349
3 changed files with 23 additions and 13 deletions

View file

@ -1,5 +1,7 @@
import { defineConfig, devices } from '@playwright/test';
const baseUrl = process.env.BASE_URL || 'http://localhost:5050';
export default defineConfig({
testDir: './src',
testMatch: /\.e2e\.(spec\.)?ts$/,
@ -9,6 +11,10 @@ export default defineConfig({
baseURL: 'http://localhost:5173',
trace: 'on-first-retry'
},
webServer: {
command: 'npm run preview',
url: 'http://localhost:4173'
},
projects: [
{
name: 'chromium',