playwright.config.js
1 // @ts-check 2 const { defineConfig } = require('@playwright/test'); 3 const path = require('path'); 4 5 module.exports = defineConfig({ 6 testDir: '.', 7 testMatch: 'smoke.test.js', 8 timeout: 30000, 9 retries: 0, 10 use: { 11 baseURL: 'http://localhost:8274', 12 headless: true, 13 }, 14 webServer: { 15 command: 'python3 -m http.server 8274', 16 cwd: path.resolve(__dirname, '..'), 17 port: 8274, 18 reuseExistingServer: !process.env.CI, 19 }, 20 });