Skip to main content

GitHub

GitHub integration uses the TestChimp GitHub App (project-level installation). You do not configure repository webhooks manually — the app receives push, branch create/delete, and pull request merged events on your behalf.

Prerequisites

  • A TestChimp project with access to Teams tier features (third-party workflow integrations).
  • Admin access on the GitHub organization or account where the repository lives, so you can install the GitHub App.
  • The repository should already exist (or you can map folders into an empty repo and let initial sync scaffold content).

Step 1: Install the GitHub App

  1. In TestChimp → your projectProject settingsIntegrationsGitHub, click Connect GitHub.
  2. You are redirected to GitHub to install the TestChimp GitHub App for the organization or personal account.
  3. Choose which repositories the app may access (all repositories or selected repositories).
  4. Complete installation. GitHub redirects back to TestChimp with the installation linked to your project.

If you change which repos the app can access later, use Reconnect in Project settings to update the installation.

:::tip Re-install or expand access Your folder mappings are saved in TestChimp even if the app installation is removed. Re-install the app on the same project to restore sync without re-mapping folders. :::

Step 2: Select repository and map folders

After the app is connected:

  1. In the GitHub integration panel, choose the repository from the dropdown (repos visible to the installation).
  2. Map the Tests folder — the SmartTests root in your repo (where Playwright/Mobilewright runs).
  3. Map the Plans folder — the markdown test-planning root (stories, scenarios, knowledge).

GitHub integration: repository selection and folder mapping

When you map each folder for the first time, TestChimp may open an initial sync pull request on your default branch:

MappingTypical PR branch prefixPurpose
Teststestchimp-test-initial-map-…Marker file, scaffold, non-conflicting outgoing SmartTests files
Planstestchimp-plan-initial-map-…Marker file, scaffold, non-conflicting outgoing plan files

Review and merge these PRs like any other change.

Branch naming rules

If GitHub rulesets or branch protections restrict branch names, allow prefixes starting with testchimp-. Ongoing sync uses names such as testchimp-test-sync-… and testchimp-plan-export-….

Step 3: Sync SmartTests (branch-aware)

SmartTests sync is branch-aware:

  1. Open SmartTests in TestChimp.
  2. Use the branches control in the left pane to select the branch you are working on (for example main, develop, or a feature branch).
  3. Open Sync with GitHub to analyze incoming/outgoing changes, resolve conflicts, pull from Git, or raise a PR.

Details of the day-to-day workflow: GitHub Sync.

When you push changes from TestChimp, head branches use the testchimp-test-sync-… or testchimp-plan-sync-… pattern targeting your selected branch.

Step 4: Export test plans

With the Plans folder mapped, use Test PlanningImport/ExportSync to Git Repo to raise a PR with plan changes. See Export to Git.

Plan export PRs use the testchimp-plan-export-… branch prefix.

Inbound sync (Git → TestChimp)

The GitHub App delivers webhooks to TestChimp automatically. You do not configure these in your repository settings.

EventWhat TestChimp does
Push to a branchImports added/modified files under mapped tests and plans paths on that branch
Branch createdRegisters the branch for branch-aware SmartTests workflows
Branch deletedArchives branch metadata in TestChimp
Pull request mergedReconciles last_synced state for files that were part of the merged PR under mapped folders

Only changes under your mapped folder paths are applied; other paths in the repository are ignored.

Optional: GitHub issue labels

In the GitHub integration panel you can configure issue labels TestChimp applies when creating GitHub issues from bugs or workflows. This is separate from SmartTests/plans sync.

Optional: Branch-specific deployment URLs

To run tests or explorations against PR preview URLs, configure base URL templates and per-branch overrides in Project settingsBranch management. See Branch-specific test execution.

Troubleshooting

SymptomCheck
Repository list emptyGitHub App installation scope — grant access to the repo or reconnect
Sync disabled / “Install GitHub App”Complete app installation; mapping alone is not enough
PR creation blockedBranch naming rules — allow testchimp-*
Inbound changes not appearingPush touched paths outside mapped folders, or wrong branch selected in SmartTests
Plans not on feature branchBy design — test planning stays on default branch

See also