datahub/smoke-test/tests/cypress/cypress.config.js
2023-02-07 20:09:01 -08:00

25 lines
632 B
JavaScript

const { defineConfig } = require('cypress')
module.exports = defineConfig({
chromeWebSecurity: false,
viewportHeight: 960,
viewportWidth: 1536,
projectId: 'hkrxk5',
defaultCommandTimeout: 10000,
retries: {
runMode: 2,
openMode: 0,
},
video: 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)
},
baseUrl: 'http://localhost:9002/',
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
experimentalStudio: true,
},
})