Files
vikunja/frontend/cypress.config.ts
Claude Loop 9d68e282a7 fix: improve E2E test reliability with reduced timeouts and better API intercept handling
- Reduce individual API wait timeouts from 30s to 15s to prevent long hangs
- Add project loading intercepts to improve synchronization
- Reduce global Cypress timeouts to fail faster instead of hanging
- Apply improved error handling in task overview and subtask tests
- Update timeout values in cypress.config.ts for better CI performance

This should prevent tests from timing out at GitHub Actions 25min limit.
2025-09-21 02:59:09 +00:00

34 lines
695 B
TypeScript

import {defineConfig} from 'cypress'
export default defineConfig({
env: {
API_URL: 'http://localhost:3456/api/v1',
TEST_SECRET: 'averyLongSecretToSe33dtheDB',
},
video: false,
retries: {
runMode: 2,
},
projectId: '181c7x',
e2e: {
specPattern: 'cypress/e2e/**/*.{cy,spec}.{js,jsx,ts,tsx}',
baseUrl: 'http://127.0.0.1:4173',
experimentalRunAllSpecs: true,
// testIsolation: false,
},
component: {
devServer: {
framework: 'vue',
bundler: 'vite',
},
},
viewportWidth: 1600,
viewportHeight: 900,
experimentalMemoryManagement: true,
defaultCommandTimeout: 20000,
requestTimeout: 30000,
responseTimeout: 30000,
pageLoadTimeout: 30000,
taskTimeout: 300000,
})