mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
add e2e test report creation script and remove mochawesome options from cypress config
This commit is contained in:
parent
0c452ffdb4
commit
21f4bd9e05
5
e2e-tests/create-cucumber-html-report.js
Normal file
5
e2e-tests/create-cucumber-html-report.js
Normal file
@ -0,0 +1,5 @@
|
||||
const report = require("multiple-cucumber-html-reporter");
|
||||
report.generate({
|
||||
jsonDir: "cypress/jsonlogs",
|
||||
reportPath: "./cypress/reports/cucumber-htmlreport.html"
|
||||
});
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user