Skip to content

Commit

Permalink
Update screenshot on failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
trungleduc committed Dec 8, 2021
1 parent 4ef40d0 commit c615389
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,16 @@ jobs:
path: |
ui-tests/playwright-report
- name: Update snapshots
if: failure()
run: |
cd ui-tests
# remove previous snapshots from other browser
jlpm rimraf "tests/**/*-snapshots/*.png"
jlpm rimraf "stability_test/**/*-snapshots/*.png"
# generate new snapshots
jlpm run test:update --browser ${{ matrix.browser }}
- name: Print JupyterLab logs
if: always()
run: |
Expand Down
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c615389

Please sign in to comment.