You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
488 B
24 lines
488 B
import process from 'process';
|
|
|
|
import { PlaywrightTestConfig } from '@playwright/test';
|
|
|
|
import { BrowserName } from './test/utils';
|
|
|
|
const browserName = (process.env.BROWSER ?? 'chromium') as BrowserName;
|
|
|
|
const config: PlaywrightTestConfig = {
|
|
projects: [
|
|
{
|
|
name: 'Retro',
|
|
use: {
|
|
viewport: { width: 1600, height: 900 },
|
|
slowMo: 100,
|
|
video: 'on',
|
|
browserName
|
|
},
|
|
outputDir: 'test-results'
|
|
}
|
|
]
|
|
};
|
|
export default config;
|