mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
36 lines
637 B
TypeScript
36 lines
637 B
TypeScript
import { PlaywrightTestConfig } from '@playwright/test';
|
|
|
|
const config: PlaywrightTestConfig = {
|
|
testDir: '.',
|
|
timeout: 10000,
|
|
projects: [
|
|
{
|
|
name: 'Chrome Stable',
|
|
use: {
|
|
browserName: 'chromium',
|
|
channel: 'chrome'
|
|
}
|
|
},
|
|
{
|
|
name: 'Firefox Stable',
|
|
use: {
|
|
browserName: 'firefox'
|
|
}
|
|
},
|
|
{
|
|
name: 'WebKit',
|
|
use: {
|
|
browserName: 'webkit'
|
|
}
|
|
}
|
|
],
|
|
reporter: 'list',
|
|
webServer: {
|
|
command: 'npm run start-server-only',
|
|
port: 3000,
|
|
timeout: 120000,
|
|
reuseExistingServer: !process.env.CI
|
|
}
|
|
};
|
|
export default config;
|