forked from chaskiq/chaskiq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cypress.config.ts
45 lines (44 loc) · 1.23 KB
/
cypress.config.ts
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
43
44
45
import { defineConfig } from 'cypress'
export default defineConfig({
animationDistanceThreshold: 5,
blockHosts: null,
chromeWebSecurity: true,
defaultCommandTimeout: 25000,
env: {},
execTimeout: 60000,
fileServerFolder: '',
fixturesFolder: './spec/cypress/fixtures',
hosts: null,
modifyObstructiveCode: true,
numTestsKeptInMemory: 50,
pageLoadTimeout: 60000,
port: null,
projectId: 'j4kaht',
reporter: 'spec',
reporterOptions: null,
requestTimeout: 15000,
responseTimeout: 30000,
screenshotsFolder: './spec/cypress/screenshots',
taskTimeout: 60000,
trashAssetsBeforeRuns: true,
userAgent: null,
video: true,
videoCompression: 32,
videoUploadOnPasses: true,
videosFolder: './spec/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('./spec/cypress/plugins')(on, config)
},
specPattern: './spec/cypress/integration//**/*.*',
baseUrl: 'http://localhost:5002',
excludeSpecPattern: '*.hot-update.js',
supportFile: './spec/cypress/support',
},
})