Skip to content

Commit

Permalink
HTML report after run
Browse files Browse the repository at this point in the history
  • Loading branch information
mishal.alexander committed Jan 4, 2024
1 parent 45e07e7 commit ab9a063
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,12 @@ jobs:
# and run all Cypress tests

- name: Cypress run
uses: cypress-io/github-action@v5
uses: cypress-io/github-action@v5
with:
command: npm run test:all

- name: Cypress Test Report
uses: actions/upload-artifact@v4
with:
name: Mochawesome html report
path: cypress/reports/html
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"scripts": {
"test:addToCart": "npx cypress run --spec cypress/e2e/tests/addToCartTest.cy.js",
"test:registerTest": "npx cypress run --spec cypress/e2e/tests/registerTest.cy.js"
"test:registerTest": "npx cypress run --spec cypress/e2e/tests/registerTest.cy.js",
"test:all": "npx cypress run"
},
"author": "Mishal Alexander",
"repository": {
Expand Down

0 comments on commit ab9a063

Please sign in to comment.