Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.8 KB

File metadata and controls

35 lines (25 loc) · 1.8 KB

playwright-github-action

run Playwright tests with GitHub Actions and upload test-results (trace.zip) to GitHub Repo

Reuse

  • Fork your own copy
  • Your Repository / Settings / Actions / General / Workflow permissions
    • Select "Read and write permissions"
    • Save
  • Your Repository / Actions / playwright / Run workflow
  • Update links in README.md (replace felixlohmeier/playwright-github-action)

Run tests in GitHub Actions

Github Actions Workflow

View results in Playwright Trace Viewer

test example / get started link:

Development in GitHub Codespaces

Open in GitHub Codespaces

npx playwright test --reporter html
npx playwright show-report