28 lines
538 B
JavaScript
28 lines
538 B
JavaScript
import { devices } from '@playwright/test';
|
|
|
|
/** @type {import('@playwright/test').PlaywrightTestConfig} */
|
|
const config = {
|
|
projects: [
|
|
{
|
|
name: 'chromium',
|
|
use: { ...devices['Desktop Chrome'] },
|
|
},
|
|
{
|
|
name: 'firefox',
|
|
use: { ...devices['Desktop Firefox'] },
|
|
},
|
|
{
|
|
name: 'webkit',
|
|
use: { ...devices['Desktop Safari'] },
|
|
},
|
|
],
|
|
reporter: 'list',
|
|
webServer: {
|
|
command: 'npm run test:serve',
|
|
port: 9999,
|
|
reuseExistingServer: false,
|
|
},
|
|
};
|
|
|
|
export default config;
|