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