NoteOnly one Git provider (GitHub or GitLab) can be active per project at a time. If you need GitHub, see GitHub Integration. Running GitLab on your own infrastructure? See GitLab Self-Managed Integration.
What the GitLab Integration Does
InfoGitLab does not support CI Checks (quality gates that block merges). That feature is available with the GitHub integration only. GitLab comment summaries still give your team full visibility into test results on every MR.
Prerequisites
- A TestDino account with a project created (Getting Started)
- An API key generated for your project (Generate API Keys)
- TestDino configured in your Playwright project (Node.js CLI)
- GitLab Maintainer or Owner access on the repository you want to connect
Connect TestDino with GitLab
Connection is a two-step process: authorize TestDino via GitLab OAuth, then select which repository to connect in TestDino.1. Authorize TestDino in GitLab
Go to Settings → Integrations → CI/CD in your TestDino project and select GitLab. This redirects you to GitLab to authorize TestDino. Sign in to GitLab (if not already) and approve the OAuth request. TestDino requests access to read your repositories, merge requests, and commits.
NoteThis step grants TestDino access to your GitLab account. It does not connect a specific repo to your TestDino project yet. You can revoke access anytime from GitLab → Settings → Applications.
2. Connect a repository to your TestDino project
After authorization, the browser redirects back to TestDino. You land on the repository selection screen. Search for the repository you want to connect by name, then select it. Once selected, the repository is connected and ready to use.
After selecting a repo, the GitLab card in Settings → Integrations shows the connected repository name.
TestDino starts syncing MR metadata and attaching test runs to commits from this point forward.
The sections below cover what you can configure and access after the connection is active.
Configure MR Comments
When a Playwright run finishes, TestDino can post an AI-generated test summary directly to the merge request or commit in GitLab. To control where and when these comments appear, you configure them through GitLab Settings in TestDino.
Open Settings → Integrations → GitLab and click the ⚙️ icon on the GitLab card. This opens the GitLab Settings panel.
Default comment toggles
At the top, two toggles control the global defaults:- Merge Request Comments: posts a test summary to every MR on a mapped branch
- Commit Comments: posts a test summary to every commit on a mapped branch
Environment overrides
Below the defaults, the Environment Overrides table lists each environment configured in your project (e.g., PROD, DEV, MAIN, QA, STAGE). Each row shows:
Environment-level toggles override the global defaults. For example, you can enable MR comments globally but disable them for the DEV environment.
Merge Requests in TestDino
Once connected, TestDino syncs your GitLab merge requests into the Pull Requests view. Each MR shows:
TestDino keeps MR state in sync with GitLab. When a merge request is opened, merged, or closed in GitLab, the status updates in TestDino automatically.
Troubleshooting
MR comments not appearing
MR comments not appearing
- Verify the global comment toggles are enabled in Settings → Integrations → GitLab → ⚙️
- Confirm the branch that triggered the run is mapped to an environment (if using overrides)
- Check that the CLI is uploading with the correct project API key
Merge requests not syncing in TestDino
Merge requests not syncing in TestDino
- Verify the GitLab OAuth connection is still active in Settings → Integrations
- Ensure the correct repository is connected to the TestDino project
- Confirm tests have run on the MR branch at least once after connecting
Repository not appearing in selection list
Repository not appearing in selection list
- The OAuth token may not have access to that repo. Revoke and re-authorize to refresh permissions
- Ensure the repository is not archived in GitLab
GitLab Self-Managed
Connect TestDino to a self-managed GitLab instance via OAuth
GitHub Integration
Connect GitHub with PR comments, CI checks, and quality gates
Environment Mapping
Map branches to environments for targeted reporting
Pull Requests Dashboard
View all MRs with test run results, trends, and AI insights