Skip to content

Commit

Permalink
Update playwright.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Adameddy26 authored Jun 13, 2024
1 parent 9046594 commit 49c2c8d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:
- name: Install Playwright
run: npx playwright install

- name: Run Playwright automation script
run: npx playwright test
env:
USERNAME: ${{ secrets.USERNAME }}
PASSWORD: ${{ secrets.PASSWORD }}

- name: Upload screenshot on error
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: error-screenshot
path: error-screenshot-*.png

- name: Run Playwright automation script
run: npx playwright test
env:
USERNAME: ${{ secrets.USERNAME }}
PASSWORD: ${{ secrets.PASSWORD }}

0 comments on commit 49c2c8d

Please sign in to comment.