diff --git a/playwright/playwright.config.js b/playwright/playwright.config.js new file mode 100644 index 0000000..60a5b19 --- /dev/null +++ b/playwright/playwright.config.js @@ -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;