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>
26 lines
700 B
TypeScript
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,
|
|
},
|
|
});
|