skillbox/client/cypress.config.ts

24 lines
645 B
TypeScript

import { defineConfig } from 'cypress'
export default defineConfig({
videoUploadOnPasses: false,
reporter: 'junit',
reporterOptions: {
mochaFile: 'cypress/test-reports/frontend/cypress-results-[hash].xml',
toConsole: true,
},
projectId: 'msk-fe',
retries: {
runMode: 2,
},
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:8080',
specPattern: 'cypress/integration/frontend/**/*.{js,jsx,ts,tsx}',
},
})