Files
ackify-ce/webapp/cypress.config.ts
Benjamin 8a0d79ac65 fix: user document allocation
refacto: vue components extract, sign & reminder list, align tests to new components
2026-01-20 09:54:36 +01:00

31 lines
910 B
TypeScript

// SPDX-License-Identifier: AGPL-3.0-or-later
import { defineConfig } from 'cypress'
// @ts-ignore - no types available for @cypress/code-coverage
import codeCoverageTask from '@cypress/code-coverage/task'
export default defineConfig({
e2e: {
baseUrl: 'http://localhost:8080',
specPattern: 'cypress/e2e/**/*.cy.{js,jsx,ts,tsx}',
excludeSpecPattern: ['cypress/e2e/demo.cy.ts'],
supportFile: 'cypress/support/e2e.ts',
fixturesFolder: 'cypress/fixtures',
video: false,
screenshotOnRunFailure: true,
defaultCommandTimeout: 10000,
requestTimeout: 10000,
env: {
mailhogUrl: 'http://localhost:8025',
// Enable coverage collection
codeCoverage: {
exclude: ['cypress/**/*.*', 'tests/**/*.*']
}
},
setupNodeEvents(on, config) {
// Register code coverage plugin
codeCoverageTask(on, config)
return config
},
},
})