-
Notifications
You must be signed in to change notification settings - Fork 0
/
cypress.config.ts
46 lines (38 loc) · 961 Bytes
/
cypress.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import { defineConfig } from 'cypress'
export default defineConfig({
chromeWebSecurity: true,
component: {
devServer: {
bundler: 'webpack',
framework: 'next',
},
},
'cypress-watch-and-reload': {
watch: ['src/**/*'],
},
/*
* We've imported your old cypress plugins here.
* You may want to clean this up later by importing these.
*/
e2e: {
baseUrl: 'http://localhost:3004',
excludeSpecPattern: '**/examples/*.spec.js',
setupNodeEvents(on, config) {
/* eslint-disable eslint-comments/no-unlimited-disable, unicorn/no-abusive-eslint-disable */
return require('./cypress/plugins')(on, config) // eslint-disable-line
/* eslint-enable */
},
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
},
env: {
codeCoverage: {
url: '/api/__coverage__',
},
},
projectId: 'esdwok',
retries: {
openMode: 0,
runMode: 2,
},
videoUploadOnPasses: false,
})