test: cubrir jornada completa en playwright

This commit is contained in:
mono
2026-10-25 21:46:48 -05:00
parent 6a3352a96c
commit 488f383904
4 changed files with 57 additions and 4 deletions

View File

@@ -3,6 +3,7 @@ import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
testDir: './tests/e2e',
timeout: 30_000,
workers: 1,
use: { baseURL: 'http://127.0.0.1:4173', trace: 'on-first-retry' },
webServer: { command: 'npm run dev -- --host 127.0.0.1 --port 4173', url: 'http://127.0.0.1:4173', reuseExistingServer: true },
projects: [{ name: 'chromium', use: { ...devices['Desktop Chrome'], launchOptions: { executablePath: '/usr/bin/chromium' } } }, { name: 'mobile', use: { ...devices['Pixel 5'], launchOptions: { executablePath: '/usr/bin/chromium' } } }],