Your GitLab integration and deploy notifications must already be set up.
- Set up a trigger that matches your preview deployments
- Provide the deployment_type value to use for preview tests
- Confirm how QA Wolf should identify the merge request (for example, by branch name or merge request ID)
- Confirm the preview URL variable name used in your pipeline
How to: Ensure merge requests deploy preview environments
How to: Ensure merge requests deploy preview environments
Each merge request must deploy a preview environment that QA Wolf can reach. Your pipeline should provide a stable preview URL for each merge request and include a step that waits until the preview is live before tests start.
How to: Trigger QA Wolf tests from merge request pipelines
How to: Trigger QA Wolf tests from merge request pipelines
Add a job that notifies QA Wolf after the preview environment is deployed and reachable.Add a notify_qawolf job to your .gitlab-ci.yml that runs only for merge request pipelines.What this job assumes
- Your pipeline already creates a preview environment for each merge request.
- The preview environment URL is available as PREVIEW_URL when this job runs.
- A prior job (such as deploy_preview) deploys the preview environment and verifies it is reachable before notifying QA Wolf.
How to: Require QA Wolf tests before merge
How to: Require QA Wolf tests before merge
In GitLab, merge requests are typically blocked unless pipelines pass.
If your project uses approval rules or protected branches, ensure the merge request pipeline is the one required to pass.
How to: Verify your PR testing setup
How to: Verify your PR testing setup
Open a merge request in GitLab.
Confirm that your merge request triggers a pipeline that deploys a preview environment.
Confirm the preview environment is created.
In GitLab, check the merge request’s environment or the Review App link, and confirm that the preview URL is reachable.
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 merge request.