QA Wolf integrates directly with GitLab to automatically run tests when you deploy code. This integration uses your GitLab CI/CD pipeline to notify QA Wolf when a deployment is complete and ready to test.
If your repositories are hosted on GitLab.com or on a GitLab Enterprise Server instance with internet access, this is the recommended setup. The integration connects directly to your QA Wolf environments.
If your GitLab instance does not allow outbound HTTPS connections (for example, an air-gapped GitLab Enterprise installation), use the QA Wolf CI SDK instead.
Make sure you have:
Admin or Maintainer access to the GitLab project
Access to your QA Wolf workspace
At least one QA Wolf environment already configured
Open the Workspace name dropdown in QA Wolf and click Workspace Settings.
2
Click Integrations, then click Enable next to GitLab. This opens GitLab, where you’ll be prompted to sign in if you have not already done so. Follow the prompts to connect your GitLab account or group.
You’ll be asked to provide a Group Access Token with the Maintainer role and API scope.
The Maintainer role is required because Developer tokens cannot create pipeline checks on protected branches.
Once connected, QA Wolf can set commit statuses and link test runs to GitLab commits.
How to add the deploy success notification to GitLab CI/CD
QA Wolf provides a public API endpoint that your GitLab pipeline can call upon successful deployment.Add a job to your .gitlab-ci.yml that runs after your deploy step completes successfully.