Test Suite Dashboard
Pull Request Comments
Pull Request Comments show updated results of your test run with links to replays and the Test Suite Dashboard, all from the pull request in GitHub.
Overview
Once you have your test suites integrated with Replay in CI, you can add our bot to your GitHub repository. The bot will leave comments on PRs with a summary of the most recent test run.
The comment also includes links to replays of the tests and the test run in the Test Suite Dashboard. The comment will automatically update with the most recent results every time a new commit is pushed.
Install the app
Go to the Replay Github App page and click on Configure. You will be prompted to select the organization and repositories that the PR Comments bot will access to.
Set up your workflow file
The PR Comment bot listens to the pull_request
event. It will collect links from your test runs and show them as a comment in your pull request conversation tab on GitHub. This means that your workflow file needs to have run on the pull_request
event.
name: Playwright Tests
on: [pull_request]
jobs:
### ...your jobs
Run your tests
After you run your test, PR comment bot will collect links from your test step, and show them as a comment in your pull request conversation tab on GitHub.