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) {},
|
2022-07-11 16:03:27 +00:00
|
|
|
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
|
|
|
},
|
2022-06-27 08:01:02 +00:00
|
|
|
retries: {
|
|
|
|
// Configure retry attempts for `cypress run`
|
|
|
|
// Default is 0
|
2022-11-30 19:00:58 +00:00
|
|
|
runMode: 3,
|
2022-06-27 08:01:02 +00:00
|
|
|
// Configure retry attempts for `cypress open`
|
|
|
|
// Default is 0
|
|
|
|
openMode: 0,
|
|
|
|
},
|
2022-07-05 16:03:48 +00:00
|
|
|
videoCompression: 30,
|
|
|
|
videoUploadOnPasses: false,
|
2022-06-21 11:29:03 +00:00
|
|
|
})
|