-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcypress.config.ts
25 lines (24 loc) · 1.38 KB
/
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
import {defineConfig} from 'cypress'
export default defineConfig({
env: {
RETRIES: 0,
},
retries: {
runMode: 3,
openMode: 1,
},
viewportWidth: 1920,
viewportHeight: 1080,
numTestsKeptInMemory: 0,
projectId: 'zxxo89',
trashAssetsBeforeRuns: true,
e2e: {
// We've imported your old cypress plugins here.
// You may want to clean this up later by importing these.
setupNodeEvents(on, config) {
return require('./cypress/plugins/index.js')(on, config)
},
excludeSpecPattern: ['**/__snapshots__/*', '**/__image_snapshots__/*'],
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
},
})