Using
action-playwright
in your GitHub Actions workflow is the easiest way to get started recording your Playwright tests in CI.The action:
- Ensures Replay Browsers are installed on the CI machine
- Runs your tests with the browser set for a given project
- Uploads replays from the test run to the team associated with the given API key
- Comments on the initiating pull request with links to the test run and replays