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) {},
|
2022-07-11 18:03:27 +02:00
|
|
|
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
|
|
|
},
|
2022-06-27 10:01:02 +02:00
|
|
|
retries: {
|
2024-12-26 17:40:48 +01:00
|
|
|
// Configure retry attempts for `cypress run` (Github Action)
|
2022-06-27 10:01:02 +02:00
|
|
|
// 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)
|
2022-06-27 10:01:02 +02:00
|
|
|
// Default is 0
|
2024-12-26 17:40:48 +01:00
|
|
|
openMode: 1,
|
2022-06-27 10:01:02 +02:00
|
|
|
},
|
2022-07-05 18:03:48 +02:00
|
|
|
videoCompression: 30,
|
|
|
|
videoUploadOnPasses: false,
|
2022-06-21 13:29:03 +02:00
|
|
|
})
|