upskill-event-manager/wordpress-dev/tests/e2e/playwright.config.ts
bengizmo 44b8d62722 docs: update Memory Bank and implementation plan with development environment progress
- Update activeContext.md with current focus and status
- Add development environment decisions to decisionLog.md
- Update progress.md with completed tasks
- Add development patterns to systemPatterns.md
- Update productContext.md with environment details
- Add Development Environment Setup section to implementation plan"
2025-03-25 14:28:26 -03:00

30 lines
No EOL
693 B
TypeScript

import type { PlaywrightTestConfig } from '@playwright/test';
const config: PlaywrightTestConfig = {
testDir: './tests',
timeout: 30000,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
workers: process.env.CI ? 1 : undefined,
reporter: [
['list'],
['html', { open: 'never' }],
['junit', { outputFile: '../test-results/e2e-results.xml' }]
],
use: {
baseURL: process.env.WORDPRESS_URL || 'http://localhost:8080',
trace: 'on-first-retry',
video: 'on-first-retry',
screenshot: 'only-on-failure'
},
projects: [
{
name: 'chromium',
use: {
browserName: 'chromium',
},
},
],
};
export default config;