migration from cypress 9 to cypress 10
This commit is contained in:
39
e2e/cypress.config.js
Normal file
39
e2e/cypress.config.js
Normal file
@@ -0,0 +1,39 @@
|
||||
const { defineConfig } = require('cypress')
|
||||
|
||||
module.exports = defineConfig({
|
||||
defaultCommandTimeout: 5000,
|
||||
xxxretries: 3,
|
||||
xbaseUrl: 'http://localhost:7575',
|
||||
xxxbaseUrl: 'http://localhost:8080',
|
||||
video: false,
|
||||
env: {
|
||||
xapiBaseUrl: 'http://localhost:7575/api/v8.0/',
|
||||
apiBaseUrl: 'https://test.helloayanova.com/api/v8.0/',
|
||||
admin: {
|
||||
login: 'superuser',
|
||||
password: 'l3tm3in',
|
||||
},
|
||||
accounting: {
|
||||
login: 'Accounting',
|
||||
password: 'Accounting',
|
||||
},
|
||||
service: {
|
||||
login: 'Service',
|
||||
password: 'Service',
|
||||
},
|
||||
customer: {
|
||||
login: 'Customer',
|
||||
password: 'Customer',
|
||||
},
|
||||
},
|
||||
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)
|
||||
},
|
||||
specPattern: 'tests/**/*.cy.{js,jsx,ts,tsx}',
|
||||
supportFile: 'support/e2e.js',
|
||||
baseUrl: 'https://test.helloayanova.com',
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user