-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathcypress.config.js
More file actions
29 lines (28 loc) · 943 Bytes
/
Copy pathcypress.config.js
File metadata and controls
29 lines (28 loc) · 943 Bytes
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
/*
* SPDX LGPL-2.1-or-later
* Copyright (C) 2014 The eXist-db Authors
*/
const { defineConfig } = require('cypress')
module.exports = defineConfig({
fileServerFolder: 'src/main/xar-resources',
fixturesFolder: 'src/test/cypress/fixtures',
screenshotsFolder: 'target/cypress/screenshots',
videosFolder: 'target/cypress/videos',
downloadsFolder: 'target/cypress/downloads',
projectId: 'snavwf',
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('./src/test/cypress/plugins/index.js')(on, config)
},
retries: {
runMode: 2,
openMode: 0
},
baseUrl: 'http://localhost:8080/exist/apps/monex',
excludeSpecPattern: 'src/test/cypress/e2e/examples/*.js',
specPattern: 'src/test/cypress/e2e/**/*.{js,jsx,ts,tsx}',
supportFile: 'src/test/cypress/support/e2e.js',
},
})