Files
raven-test/e2e/cypress.config.js
2024-05-07 18:52:40 +00:00

42 lines
1.1 KiB
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/',
xxapiBaseUrl: 'https://test.onayanova.com/api/v8.0/',
apiBaseUrl: 'https://3312.onayanova.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)
},
experimentalRunAllSpecs: true,
specPattern: 'tests/**/*.cy.{js,jsx,ts,tsx}',
supportFile: 'support/e2e.js',
xxbaseUrl: 'https://test.onayanova.com',
},
})