add e2e test report creation script and remove mochawesome options from cypress config

This commit is contained in:
mahula 2023-07-04 18:29:09 +02:00
parent 0c452ffdb4
commit 21f4bd9e05
2 changed files with 5 additions and 6 deletions

View File

@ -0,0 +1,5 @@
const report = require("multiple-cucumber-html-reporter");
report.generate({
jsonDir: "cypress/jsonlogs",
reportPath: "./cypress/reports/cucumber-htmlreport.html"
});

View File

@ -45,12 +45,6 @@ export default defineConfig({
baseUrl: 'http://localhost:3000',
chromeWebSecurity: false,
defaultCommandTimeout: 10000,
reporter: './node_modules/mochawesome/src/mochawesome.js',
reporterOptions: {
overwrite: false,
html: false,
json: true
},
supportFile: 'cypress/support/index.ts',
viewportHeight: 720,
viewportWidth: 1280,