Files
raven-test/e2e/cypress.config.js

40 lines
1014 B
JavaScript

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',
},
})