Skip to content

Commit

Permalink
Add mochawesome reporting to project. Update cypress to output reports.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbouder committed Oct 7, 2023
1 parent 4ec62f5 commit f8f5ff3
Show file tree
Hide file tree
Showing 4 changed files with 1,003 additions and 150 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ testem.log
/typings
*.local
cypress/videos
cypress/screenshots
cypress/reports
7 changes: 7 additions & 0 deletions cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ export default defineConfig({

e2e: {
baseUrl: 'http://localhost:8080',
reporter: 'mochawesome',
reporterOptions: {
reportDir: 'cypress/reports',
overwrite: false,
html: false,
json: true,
},
// eslint-disable-next-line @typescript-eslint/no-unused-vars
setupNodeEvents(on, config) {
// implement node event listeners here
Expand Down
Loading

0 comments on commit f8f5ff3

Please sign in to comment.