Overview: What QA Wolf configures
PR testing runs QA Wolf tests against preview environments before changes are merged. Tests run when a pull request enters the merge queue, and results are reported back to GitHub as a required status check. PR testing won’t work until QA Wolf configures your workspace to support it. QA Wolf will:- Set up a trigger that matches your preview deployments
- Provide the deployment-type value to use for preview tests
- Confirm the preview URL variable and the status check name (for example, QA Wolf Test Results)
How to: Add a default passing PR check
How to: Add a default passing PR check
Each pull request must deploy a preview environment that QA Wolf can reach. Your CI should provide a stable preview URL per PR and a step that waits until the preview is live before tests start.
Create .github/workflows/qawolf-pr-check.yml:
How to: Trigger QA Wolf tests in the merge queue
How to: Trigger QA Wolf tests in the merge queue
Add a GitHub Actions workflow that notifies QA Wolf only during merge queue execution.
Create .github/workflows/qawolf-merge-queue.yml:
What this workflow assumes
- Your CI pipeline already creates a preview environment per pull request.
- The preview environment URL is available as PREVIEW_URL when this job runs.
- A prior job (such as wait-for-preview-environment) ensures the preview environment is fully deployed and reachable before QA Wolf is notified.
How to: Require QA Wolf tests before merge
How to: Require QA Wolf tests before merge
In the left sidebar, do one of the following:
- Click Rules (if your repo uses GitHub’s new rulesets), or
- Click Branches (for classic branch protection rules).
How to: Verify your PR testing setup
How to: Verify your PR testing setup
Open a pull request in GitHub.
On the pull request page, confirm that a check named QA Wolf Test Results appears in the checks section and initially shows as passing.
Add the pull request to the merge queue.
When the PR enters the merge queue, GitHub will trigger the merge-queue workflow.
Confirm QA Wolf starts a test run.
In the QA Wolf app, go to the Runs tab and verify that a new run starts for the preview environment associated with the pull request.