Skip to content

Commit

Permalink
Add workers to playwright test commands and uploaded the test-reports
Browse files Browse the repository at this point in the history
Signed-off-by: IsaiahA21 <[email protected]>
  • Loading branch information
IsaiahA21 committed Oct 5, 2024
1 parent 7cc49c1 commit 4c3081e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/playwright_tests_on_vercel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ jobs:

# Run Playwright tests
- name: Run tests
run: npx playwright test
run: npx playwright test --workers=4
env:
BASE_URL: ${{github.event.deployment_status.environment_url}}

# Upload test result
- name: Upload Playwright test report
uses: actions/upload-artifact@v2
with:
name: playwright-reports
path: playwright-reports/

0 comments on commit 4c3081e

Please sign in to comment.