Skip to content

Commit

Permalink
Adding new yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalo-diamend committed Jul 4, 2024
1 parent d5954b1 commit 2156cbf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,11 @@ jobs:
run: npx playwright install --with-deps
- name: Run Playwright tests
run: |
if [ "${{ github.event.inputs.fileType }}" == "all" ]; then
FILE_TYPE="${{ github.event.inputs.fileType }}"
if [ "$FILE_TYPE" == "all" ]; then
npx playwright test --project=chromium
else
npx playwright test tests/${{ github.event.inputs.fileType }}.spec.js --project=chromium
npx playwright test tests/$FILE_TYPE.spec.js --project=chromium
fi
- uses: actions/upload-artifact@v4
if: always()
Expand Down

0 comments on commit 2156cbf

Please sign in to comment.