Skip to content

Commit

Permalink
add to take screenshot on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
afmicka committed Jan 10, 2025
1 parent e9adce6 commit 65c575c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run-nala.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ jobs:
uses: actions/upload-artifact@v3
if: failure()
with:
name: screenshots-studio
path: screenshots/studio
name: test-results
path: test-results
retention-days: 7
1 change: 1 addition & 0 deletions playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const config = {
actionTimeout: 60000,

trace: 'on-first-retry',
screenshot: 'only-on-failure',
baseURL:
process.env.PR_BRANCH_LIVE_URL ||
process.env.LOCAL_TEST_LIVE_URL ||
Expand Down

0 comments on commit 65c575c

Please sign in to comment.