| 12345678910111213141516171819202122232425262728293031 |
- import { defineConfig, devices } from '@playwright/test'
- export default defineConfig({
- testDir: './tests/e2e',
- testIgnore: '**/workspace-chat.spec.ts',
- timeout: 30_000,
- fullyParallel: false,
- workers: 1,
- reporter: 'list',
- use: {
- baseURL: 'http://127.0.0.1:18801',
- viewport: { width: 1280, height: 720 },
- trace: 'retain-on-failure',
- screenshot: 'only-on-failure',
- },
- projects: [{ name: 'chromium', use: { ...devices['Desktop Chrome'] } }],
- webServer: [
- {
- command: 'node tests/fixtures/fake-hermes.mjs',
- port: 19119,
- reuseExistingServer: true,
- timeout: 15_000,
- },
- {
- command: 'node tests/fixtures/e2e-web-server.mjs',
- url: 'http://127.0.0.1:18801/healthz',
- reuseExistingServer: true,
- timeout: 15_000,
- },
- ],
- })
|