Skip to content

update test case

update test case #3

Workflow file for this run

# .github/workflows/playwright.yml
name: Playwright Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
browser: [firefox, webkit, googlechrome]
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Set Up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install Dependencies
run: npm install
- name: Run Playwright Tests
run: npx playwright test
- name: Upload Playwright Report
uses: actions/upload-artifact@v3
with:
name: playwright-report
path: playwright-report
- name: Upload Videos
uses: actions/upload-artifact@v3
with:
name: test-videos
path: test-results/videos
- name: Upload Screenshots
uses: actions/upload-artifact@v3
with:
name: test-screenshots
path: test-results/screenshots
- name: Upload Traces
uses: actions/upload-artifact@v3
with:
name: test-traces
path: test-results/traces