mattrguerra/cortexmainPrivate on GitHub, published here in full

playwright.config.ts

Language TypeScript539 B16 lines

playwright.config.ts

  1. import { defineConfig } from '@playwright/test'
  2. // The interface in Chromium on sample data (the mock IPC), served by `vite preview`.
  3. export default defineConfig({
  4. testDir: 'e2e/ui',
  5. timeout: 30_000,
  6. fullyParallel: true,
  7. reporter: [['list']],
  8. use: { baseURL: 'http://127.0.0.1:4173', trace: 'retain-on-failure' },
  9. webServer: {
  10. command: 'npx vite build && npx vite preview --port 4173 --strictPort --host 127.0.0.1',
  11. url: 'http://127.0.0.1:4173',
  12. reuseExistingServer: !process.env.CI,
  13. timeout: 120_000,
  14. },
  15. })