Files
ytplayer/playwright.classic.config.js
2026-10-03 06:44:22 +08:00

15 lines
417 B
JavaScript

const { defineConfig } = require('@playwright/test');
module.exports = defineConfig({
testDir: './tests',
testMatch: /classic-layout\.spec\.js/,
timeout: 30000,
workers: 2,
use: { baseURL: 'http://localhost:8092', browserName: 'chromium', serviceWorkers: 'block' },
webServer: {
command: 'npx serve frontend -l 8092 --no-clipboard',
port: 8092,
reuseExistingServer: !process.env.CI,
},
});