cypress-sonarqube-reporter
Version:
A SonarQube XML reporter for Cypress
26 lines (23 loc) • 643 B
JavaScript
const { defineConfig } = require('cypress');
module.exports = defineConfig({
video: false,
screenshotsFolder: 'dist/cypress/screenshots',
reporter: 'cypress-sonarqube-reporter',
reporterOptions: {
overwrite: true,
},
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:3000/',
},
component: {
devServer: {
framework: 'create-react-app',
bundler: 'webpack',
},
},
});