mon-entreprise/site/cypress.config.ts

28 lines
680 B
TypeScript
Raw Normal View History

2022-06-21 11:29:03 +00: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 11:29:03 +00:00
specPattern: 'cypress/integration/mon-entreprise/**/*.{js,jsx,ts,tsx}',
2022-12-05 11:51:09 +00:00
experimentalRunAllSpecs: true,
experimentalStudio: true,
2022-06-21 11:29:03 +00:00
},
retries: {
2024-12-26 16:40:48 +00:00
// Configure retry attempts for `cypress run` (Github Action)
// Default is 0
2022-11-30 19:00:58 +00:00
runMode: 3,
2024-12-26 16:40:48 +00:00
// Configure retry attempts for `cypress open` (yarn test:cypress)
// Default is 0
2024-12-26 16:40:48 +00:00
openMode: 1,
},
videoCompression: 30,
videoUploadOnPasses: false,
2022-06-21 11:29:03 +00:00
})