-
Notifications
You must be signed in to change notification settings - Fork 29
/
cypress.config.js
31 lines (30 loc) · 1.01 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
/* eslint-disable global-require */
// eslint-disable-next-line import/no-extraneous-dependencies
const { defineConfig } = require('cypress')
module.exports = defineConfig({
numTestsKeptInMemory: 15,
defaultCommandTimeout: 15000,
env: {
apiUrl: 'https://training.bigbyte.academy/api',
oldApiUrl: 'https://conduit.productionready.io/api',
device: 'desktop',
email: '[email protected]',
password: 'Cypress123'
},
retries: {
runMode: 1,
openMode: 0
},
userAgent:
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.190 Safari/537.36',
viewportHeight: 768,
viewportWidth: 1266,
e2e: {
// We've imported your old cypress plugins here.
// You may want to clean this up later by importing these.
setupNodeEvents: function (on, config) {
return require('./cypress/plugins/index.js')(on, config)
},
baseUrl: 'https://training.bigbyte.academy/#'
}
})