-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcypress.config.js
38 lines (37 loc) · 1.08 KB
/
cypress.config.js
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
const { defineConfig } = require('cypress')
module.exports = defineConfig({
screenshotsFolder: './cypress/fixtures/snapshots/actual',
trashAssetsBeforeRuns: true,
updateScreenshots: false,
waitForAnimations: true,
env: {
storybook: 'http://localhost:6006/',
dev: 'http://localhost:1234/',
'production-eval-values':
'https://palindrome-production.onrender.com/api/requirements',
'cypress-plugin-snapshots': {
autoCleanUp: true,
},
codeCoverage: {
exclude: ['**/dist/**',
'**/*.stories.js',
'**/vscode/**',
'**/cypress/**',
'**/data-examples/**',
'**/dev/assets/tailwind/**',
'**/src/data_structures_examples/**',
'**/static/**'
],
},
},
e2e: {
// We've imported your old cypress plugins here.
// You may want to clean this up later by importing these.
experimentalRunAllSpecs: true,
setupNodeEvents(on, config) {
require('@cypress/code-coverage/task')(on, config)
//require('./cypress/plugins/index.js')(on, config)
return config
},
},
})