-
Notifications
You must be signed in to change notification settings - Fork 0
/
cypress.tdd.aui.template.js
29 lines (28 loc) · 1.14 KB
/
cypress.tdd.aui.template.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
const { defineConfig } = require('cypress')
module.exports = defineConfig({
ngcpConfig: {
apiHost: 'https://pro-trunk.mgm.sipwise.com:1443',
username: 'administrator',
password: 'administrator'
},
experimentalMemoryManagement: true,
// Enable this if you run out of memory while running tests. You can specify the amount of tests that should be kept in RAM.
// Keep in mind that you have to stop tests when an error occours to look at test details.
// Otherwise test details will be discarded after some time.
// numTestsKeptInMemory: 2,
retries: 1,
viewportHeight: 800,
viewportWidth: 1280,
watchForFileChanges: false,
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('./cypress/plugins/index.js')(on, config)
},
experimentalRunAllSpecs: true,
baseUrl: 'https://pro-trunk.mgm.sipwise.com:1443',
specPattern: 'cypress/e2e/ngcp-admin-ui/**/*.cy.{js,jsx,ts,tsx}',
supportFile: 'cypress/support/ngcp-admin-ui'
}
})