This commit is contained in:
niggl committed 2022-05-06 16:12:23 +02:00
1 parent fbaaa5f420
commit 9f6749d193
1 file changed
+27
View File
@@ -0,0 +1,27 @@
// playwright.config.js
// @ts-check
// import { devices } from '@playwright/test';
/** @type {import('@playwright/test').PlaywrightTestConfig} */
const config = {
webServer: {
command: 'npm run build && npm run start',
port: 3000
},
projects: [
{
name: 'chromium',
use: {
channel: 'chromium',
browserName: 'chromium',
headless: true,
launchOptions: {
args:
['--headless', '--disable-gpu', '--no-sandbox']
},
}
}
],
};
export default config;