forked from cylc/cylc-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cypress.config.js
31 lines (28 loc) · 811 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
const { defineConfig } = require('cypress')
module.exports = defineConfig({
video: false,
defaultCommandTimeout: 10000,
execTimeout: 60000,
taskTimeout: 60000,
pageLoadTimeout: 60000,
requestTimeout: 30000,
responseTimeout: 30000,
fixturesFolder: 'tests/e2e/fixtures',
screenshotsFolder: 'tests/e2e/screenshots',
videosFolder: 'tests/e2e/videos',
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('./tests/e2e/plugins/index.js')(on, config)
},
specPattern: 'tests/e2e/specs/**/*.cy.{js,jsx,ts,tsx}',
supportFile: 'tests/e2e/support/index.js'
},
component: {
devServer: {
framework: 'vue-cli',
bundler: 'webpack'
}
}
})