forked from rauversion/rauversion-phx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcypress.config.js
42 lines (42 loc) · 1.16 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
39
40
41
42
module.exports = {
animationDistanceThreshold: 5,
blockHosts: null,
chromeWebSecurity: true,
defaultCommandTimeout: 5000,
env: {},
execTimeout: 12000,
fileServerFolder: '',
fixturesFolder: './test/cypress/fixtures',
hosts: null,
modifyObstructiveCode: true,
numTestsKeptInMemory: 50,
pageLoadTimeout: 60000,
port: null,
projectId: '6xt2sd',
reporterOptions: null,
requestTimeout: 15000,
responseTimeout: 30000,
screenshotsFolder: './test/cypress/screenshots',
taskTimeout: 60000,
trashAssetsBeforeRuns: true,
userAgent: null,
video: true,
videoCompression: 32,
videoUploadOnPasses: true,
videosFolder: './test/cypress/videos',
viewportHeight: 660,
viewportWidth: 1000,
waitForAnimations: true,
watchForFileChanges: 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('./test/cypress/plugins')(on, config)
},
specPattern: './test/cypress/integration//**/*.*',
baseUrl: 'http://localhost:4002',
excludeSpecPattern: '*.hot-update.js',
supportFile: './test/cypress/support',
},
}