Files
triqura-ecd/cypress.config.ts
colinislit 9195eb9fed test: Cypress en Playwright e2e-suites voor login, agenda, cortex en verpleegrapportage
Configs voor beide runners, login via session caching, AI-chat
mocks (SSE) voor deterministische Cortex-tests. Supabase local
config toegevoegd. Auth-state en reports zijn gitignored.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 23:16:17 +02:00

26 lines
700 B
TypeScript

import { defineConfig } from 'cypress';
import { config } from 'dotenv';
config({ path: '.env.local' });
export default defineConfig({
e2e: {
baseUrl: 'http://localhost:3000',
specPattern: 'tests/cypress/**/*.cy.ts',
supportFile: 'tests/cypress/support/e2e.ts',
videosFolder: 'tests/cypress/videos',
screenshotsFolder: 'tests/cypress/screenshots',
viewportWidth: 1280,
viewportHeight: 800,
video: true,
screenshotOnRunFailure: true,
defaultCommandTimeout: 10000,
pageLoadTimeout: 30000,
experimentalModifyObstructiveThirdPartyCode: false,
},
env: {
TEST_EMAIL: process.env.TEST_EMAIL,
TEST_PASSWORD: process.env.TEST_PASSWORD,
},
});