2024-12-15 18:57:03 +01:00
|
|
|
import { PlaywrightTestConfig } from '@playwright/test';
|
|
|
|
|
|
|
|
|
|
const config: PlaywrightTestConfig = {
|
|
|
|
|
testDir: '.',
|
|
|
|
|
timeout: 10000,
|
|
|
|
|
projects: [
|
|
|
|
|
{
|
2026-02-01 08:35:49 -08:00
|
|
|
name: 'Chromium',
|
2024-12-15 18:57:03 +01:00
|
|
|
use: {
|
2026-02-01 08:35:49 -08:00
|
|
|
browserName: 'chromium'
|
2024-12-15 18:57:03 +01:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: 'FirefoxStable',
|
|
|
|
|
use: {
|
|
|
|
|
browserName: 'firefox'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: 'WebKit',
|
|
|
|
|
use: {
|
|
|
|
|
browserName: 'webkit'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
reporter: 'list',
|
|
|
|
|
webServer: {
|
|
|
|
|
command: 'npm run start',
|
|
|
|
|
port: 3000,
|
|
|
|
|
timeout: 120000,
|
|
|
|
|
reuseExistingServer: !process.env.CI
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
export default config;
|