Repositories
Connect and configure the Git repositories that contain your Playwright tests.
The Repositories page (/dashboard/repositories) is where you connect the Git repositories that
hold your Playwright projects. Each repository stores its own provider credentials, runtime image,
resource profile, notification settings, and environment variables, so every run knows exactly how to
build and execute your tests.
The header reads Repositories with the subtitle Connect your GitHub repositories containing Playwright test projects to WrightRunner… and a usage line such as Subscription usage: 0 / 10 repositories. — your count against the plan limit. An + Add Repository button sits on the right.
Repository cards
Connected repositories appear as cards. The header of each card shows a provider badge/icon, the
repository name, and the provider / path (e.g. GitHub / owner/repo). A button in the corner
opens the repository in its provider in a new tab.
Each card lists:
| Field | Meaning |
|---|---|
| Owner | Personal, or a Team badge with the team name for shared repositories. |
| Resources | The default resource profile, e.g. 2 CPU / 4 GB. |
| Language | The Playwright language, e.g. JavaScript (Node.js). |
| Branch | The Git branch that is checked out for test discovery and runs. |
| Runtime | The Playwright Docker image / version used to run the tests. |
| Last run | When the repository last ran, or Never. |
Card actions
- Edit — open the configuration panel (see below).
- Variables — manage environment variables.
- Run Test — jump to Test Runs with this repository preselected and the new‑run panel open.
- Duplicate (copy icon) — create a full copy of the repository (see below).
- Delete (trash icon) — remove the repository after a confirmation prompt.
For team repositories, the Edit and Variables buttons are enabled only if you're the team owner or a member granted can edit repositories. Deleting and duplicating a team repository are restricted to the team owner. See Teams.
Duplicating a repository
The Duplicate button (copy icon) on a repository card creates a new repository pre‑filled with the same configuration as the original — handy for spinning up a near‑identical setup without re‑entering everything. The duplicate is created immediately (no form to fill in); the button shows a spinner while it works and a Repository duplicated successfully message when it's done.
What gets copied
The new repository is an independent copy that carries over all of the original's settings:
| Copied | Notes |
|---|---|
| Name | Suffixed to stay unique — My repo (copy), then My repo (copy 2), (copy 3), and so on if a copy already exists. |
| Provider, URL & branch | Same Git provider, repository URL, and branch. |
| Username & access token | The stored credentials are copied to the new repository. |
| Runtime & resources | Playwright version (Docker image) and resource profile. |
| Language | The Playwright language. |
| Notifications & AI | Email report policy and the Run AI analysis setting. |
| Team assignment | Stays with the same team (or personal) as the original. |
| Environment variables | All variables — including secret values — are copied to the new repository. |
The copy is a snapshot: it's independent from then on, so later edits to one repository don't affect the other. Test run history is not copied — the duplicate starts with no runs and a Last run of Never.
Duplicating is available wherever you can delete a repository — your own personal repositories, and, for team repositories, the team owner. A duplicate counts toward your repository limit, so if you're already at your plan's maximum the action is blocked with a limit reached message. If the repository copies but its environment variables can't, you'll see "Repository duplicated, but environment variables could not be copied." — open the new repository's Variables to re‑add them.
Adding or editing a repository
Add Repository (or Edit) opens a side panel with three sections.
General
| Field | Description |
|---|---|
| Repository Name | A friendly name shown throughout the app. |
| Team | Assign the repository to a team you own, or keep it No team (personal). Only shown if you own teams. |
| Email report notifications | When to email a report: Never, On failure, On skipped or failed, or Always. |
| Run AI analysis | Toggle AI analysis of failures after each run; the report appears on the run's AI Analysis tab. |
| Resource profile | CPU/memory for runs, e.g. 1 CPU core / 4 GB memory. Profiles above your plan's CPU limit are disabled. |
The email report setting is about test outcomes. A run that could not be executed at all — a run error such as a failed clone or install — is always reported by email, with the subject "<repository>: RUN ERROR - test run could not be executed", unless the setting is Never. Regular report emails carry the run's status in the subject: "<repository>: PASSED" or "<repository>: FAILED".
Email report notifications require a plan that includes them. On the Free plan the control is disabled with an upgrade hint. See Subscription. Run AI analysis is available on every plan.
Repository
| Field | Description |
|---|---|
| Provider | GitHub, Azure DevOps, or Codeberg. |
| Repository URL | The clone URL. The expected format is validated per provider (e.g. must start with https://github.com). |
| Branch | The exact name of the Git branch to check out when discovering and running tests. Defaults to master — change it if your repository uses main or another branch. |
| Playwright language | JavaScript (Node.js) or TypeScript. Python, Java, and .NET are listed as coming soon and disabled. |
| Playwright version | The runtime Docker image to run against. |
| Username | Optional username for the access token, where the provider requires it. |
| Access token | A personal access token used to clone private repositories. |
The access‑token field links out to the right page for creating a token on the selected provider (GitHub fine‑grained PAT, Azure DevOps PAT, or Codeberg application settings).
When editing, leave the access token blank to keep the existing one — the field shows a masked placeholder and only overwrites the stored token if you type a new value.
Environment
Environment variables are managed per repository. When adding, the panel notes that variables become available to manage after the repository is saved; when editing, a Manage environment variables button opens the dialog directly. The card's Variables button is the other way in.
Environment variables
The environment‑variables dialog lets you define values your tests read at runtime (API URLs, keys, credentials).
- Add a row with a Name and Value.
- Flag a row as Secret to mask its value; a reveal (eye) button shows it temporarily.
- Bulk edit opens a textarea to paste many variables at once in
NAME=valueform (one per line; lines starting with#are treated as comments, surrounding quotes are stripped). - Delete individual rows with the trash icon.
Names are required and must be unique (case‑insensitive); the dialog blocks saving otherwise. Choose Save to persist all changes.
Secrets are stored to run your tests. Treat tokens and credentials as sensitive — prefer marking them Secret, and rotate them at the provider if they may have been exposed.
Plan limits
The number of repositories you can connect depends on your plan. When you hit the limit, Add Repository shows a limit reached message instead of opening the panel.
| Plan | Repositories | Max CPU per run |
|---|---|---|
| Free | 2 | 1 |
| Solo | 5 | 2 |
| Team | 10 | 4 |
| Pro Team | 100 | 8 |
The limit — and the Subscription usage line in the page header — counts every repository you created, including the ones you assigned to a team. Team repositories created by other people don't count toward your limit; they count toward their creator's.