1
0
Fork 0
mirror of https://github.com/betagouv/mon-entreprise synced 2025-02-11 07:25:02 +00:00
mon-entreprise/site/cypress.config.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
680 B
TypeScript
Raw Normal View History

2022-06-21 13:29:03 +02:00
import { defineConfig } from 'cypress'
export default defineConfig({
projectId: 'jxcngh',
env: {
language: 'fr',
},
chromeWebSecurity: false,
e2e: {
// eslint-disable-next-line
setupNodeEvents(on, config) {},
baseUrl: 'http://localhost:3000/mon-entreprise',
2022-06-21 13:29:03 +02:00
specPattern: 'cypress/integration/mon-entreprise/**/*.{js,jsx,ts,tsx}',
2022-12-05 12:51:09 +01:00
experimentalRunAllSpecs: true,
experimentalStudio: true,
2022-06-21 13:29:03 +02:00
},
retries: {
2024-12-26 17:40:48 +01:00
// Configure retry attempts for `cypress run` (Github Action)
// Default is 0
2022-11-30 20:00:58 +01:00
runMode: 3,
2024-12-26 17:40:48 +01:00
// Configure retry attempts for `cypress open` (yarn test:cypress)
// Default is 0
2024-12-26 17:40:48 +01:00
openMode: 1,
},
videoCompression: 30,
videoUploadOnPasses: false,
2022-06-21 13:29:03 +02:00
})