Skip to content

Commit

Permalink
screenshots wf
Browse files Browse the repository at this point in the history
  • Loading branch information
rajimtri committed Dec 26, 2023
1 parent 724d954 commit 0709abc
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,33 @@ on:
jobs:
cypress-run:
runs-on: ubuntu-latest
container:
image: cypress/browsers:node18.12.0-chrome106-ff106
options: --user 1001
#container:
# image: cypress/browsers:node18.12.0-chrome106-ff106
# options: --user 1001
#defaults:
# run:
# working-directory: tests

steps:
- uses: actions/checkout@v4
- uses: cypress-io/github-action@v6
- uses: actions/checkout@v3
- uses: cypress-io/github-action@v5
with:
#build : npm run build
#start : npm start
browser: firefox
#browser: firefox
#start: npm start
#record: true
working-directory: tests
working-directory: tests
- uses: actions/upload-artifact@v3
# add the line below to store screenshots only on failures
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
if-no-files-found: ignore # 'warn' or 'error' are also available, defaults to `warn`
- uses: actions/upload-artifact@v3
with:
name: cypress-videos
path: cypress/videos
if-no-files-found: ignore # 'warn' or 'error' are also available, defaults to `warn`

0 comments on commit 0709abc

Please sign in to comment.