b2a083136b
Pinned the browser tests to the latest Playwright version that still works with Node 16. We need Node 16 for a successful build.
29 lines
565 B
JavaScript
29 lines
565 B
JavaScript
const { devices } = require('@playwright/test');
|
|
|
|
/** @type {import('@playwright/test').PlaywrightTestConfig} */
|
|
const config = {
|
|
testMatch: ['spec.js'],
|
|
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
|
|
}
|
|
};
|
|
|
|
module.exports = config;
|