2023-08-27 08:08:42 -07:00
|
|
|
import { PlaywrightTestConfig } from '@playwright/test';
|
|
|
|
|
|
|
|
|
|
const config: PlaywrightTestConfig = {
|
|
|
|
|
testDir: '.',
|
|
|
|
|
timeout: 10000,
|
|
|
|
|
projects: [
|
|
|
|
|
{
|
2026-02-01 08:35:49 -08:00
|
|
|
name: 'Chromium',
|
2023-08-27 08:08:42 -07:00
|
|
|
use: {
|
2026-02-01 08:35:49 -08:00
|
|
|
browserName: 'chromium'
|
2023-08-27 08:08:42 -07:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
2024-07-02 11:42:39 -07:00
|
|
|
name: 'FirefoxStable',
|
2023-08-27 08:08:42 -07:00
|
|
|
use: {
|
|
|
|
|
browserName: 'firefox'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: 'WebKit',
|
|
|
|
|
use: {
|
|
|
|
|
browserName: 'webkit'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
2023-09-02 08:26:42 -07:00
|
|
|
reporter: 'list',
|
2023-08-27 08:08:42 -07:00
|
|
|
webServer: {
|
|
|
|
|
command: 'npm start',
|
|
|
|
|
port: 3000,
|
|
|
|
|
timeout: 120000,
|
|
|
|
|
reuseExistingServer: !process.env.CI
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
export default config;
|