| 123456789101112131415161718192021222324 |
- import playwright from '@playwright/test';
- export default playwright.defineConfig({
- outputDir: '../dist/test-results',
- 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'
- },
- },
- ],
- });
|