forked from ABI-Software/mapintegratedvuer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcypress.config.js
34 lines (32 loc) · 858 Bytes
/
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
import { configureVisualRegression } from 'cypress-visual-regression';
export default {
defaultCommandTimeout: 10000,
reporter: "junit",
experimentalMemoryManagement: true,
numTestsKeptInMemory: 0,
reporter: "cypress-multi-reporters",
reporterOptions: {
configFile: "reporter-config.json",
},
component: {
viewportWidth: 1440,
viewportHeight: 900,
setupNodeEvents(on, config) {},
specPattern: "cypress/component/*.cy.js",
devServer: {
framework: "vue",
bundler: "vite",
},
env: {
visualRegressionType: 'regression',
visualRegressionGenerateDiff: 'always',
visualRegressionFailSilently: false
},
screenshotsFolder: './cypress/snapshots/actual',
setupNodeEvents(on, config) {
configureVisualRegression(on)
},
},
video: true,
videoCompression: true,
};