Files
wehub-resource-sync 7254f7b4d1
Build / Build (macos-latest) (push) Waiting to run
Build / Build (ubuntu-latest) (push) Waiting to run
Build / Build (windows-latest) (push) Waiting to run
Build / Analyze (javascript) (push) Waiting to run
Build / Analyze (python) (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 12:37:45 +08:00

26 lines
574 B
JavaScript

import playwright from '@playwright/test';
export default playwright.defineConfig({
outputDir: '../dist/test-results',
reporter: './playwright.reporter.js',
webServer: {
command: 'npm run server',
port: 8080,
timeout: 120 * 1000
},
projects: [
{
name: 'desktop',
testMatch: '**/desktop.spec.js',
},
{
name: 'browser',
testMatch: '**/browser.spec.js',
use: {
baseURL: 'http://localhost:8080'
},
},
],
});