A buyer takes a vendor-built automation suite in-house without breaking it when its own engineers run the suite from buyer-owned repositories, pipelines, test data and environments, with a written flaky list, before the vendor's access closes. The parts most easily missed are those a copy of the test code does not carry: secrets, CI/CD (continuous integration and continuous delivery, the automated pipeline that builds, tests and releases each code change) variables, container images, runner machines and screenshot baselines that were never committed. The checklist below orders the work in five phases, and the vendor keeps running its own copy until the fifth.
On this page
What an in-house team takes over besides the code
The move in-house opens three gaps that an incoming vendor would fill with its own staff. Nobody on the buyer's side may have debugged the framework under release pressure. Nobody may be assigned to update the browsers, libraries and container image the suite runs on. Nobody may be named to read a failed nightly run before the working day starts.
These gaps shape the plan, because no second team of automation engineers arrives to run in parallel. The in-house team learns the suite while it takes it over, and questions the documentation does not answer have to reach the vendor before its last day. A switch between two vendors, with its parallel run and full artifact inventory, is covered in the vendor switching handover plan. This article covers what changes when the receiver is the buyer's own team.
Each gap therefore gets a name before any file moves: a framework owner, an owner for the pipeline image and runners, and a rota for failed runs. A buyer that cannot name the three people has a hiring question to settle before it has a handover to schedule.
Rights come before files. A buyer that copies a repository before the rights are settled may hold code it is not entitled to change. The assignment and framework license terms are set out in the article on IP ownership of test automation code, and the checklist starts with that check.
Repository and pipeline: what each platform carries over
The route used to move the repository decides which pieces arrive by themselves and which the in-house team rebuilds by hand. On GitHub, a repository transfer moves issues, pull requests, the wiki, stars and watchers, and keeps webhooks (automatic messages a platform sends to another system when an event happens), secrets and deploy keys (keys that let a machine reach one repository without a personal account) associated with the repository ev-content-autoho-002confidence B. It moves Git LFS (Git Large File Storage, an extension that keeps large files such as fixtures and images outside the main Git history) objects in the background, which may take some time, and packages may transfer or lose their link, depending on the registry ev-content-autoho-002confidence B.
A mirror copy (a duplicate of a repository with all its branches and tags, pushed to a new location) is different. For a repository with LFS objects, GitHub's procedure adds a separate fetch of all LFS objects before the mirror push and a separate LFS push after it ev-content-autoho-001confidence B. A buyer that copies a suite with fixtures or reference images in LFS should open a sample of those files in the new repository and confirm that the files themselves arrived.
The choice of route decides whether the vendor can keep running. A mirror copy leaves the vendor's repository in place, so both sides can run the suite during the handover, which makes it the default in the checklist. A transfer moves the repository itself. A buyer that wants the issues and pull requests through a transfer either postpones it to the close, or invites the vendor into the transferred repository and confirms that its pipeline still runs from there.
A copy also starts to age on the day it is made. The vendor stops framework changes from a freeze date, and each test fix it still makes is committed to both repositories on agreed sync days. Without that rule the in-house run and the vendor's run compare two different suites.
The plan treats every secret value as something to reissue. GitHub's API (application programming interface) endpoint for a repository secret returns it without revealing its encrypted value ev-content-autoho-003confidence B, so the in-house team cannot read the value back through it. Other platforms and secret stores need their own check. Where a transfer keeps secrets attached, the buyer treats each one as known to the vendor and replaces it. What the vendor can hand over is the list: each secret's name, the system it opens, its scope and the person who issues a replacement. The new value is issued next to the old one, because withdrawing the old one early stops the vendor's runs.
GitLab's migration by file export is a separate operation, and its list is not comparable line by line with a GitHub transfer. The exported items depend on the GitLab version ev-content-autoho-004confidence B. The documentation's overview lists LFS objects, archived pipelines, protected branches and tags, issues and merge requests as exported, and pipeline schedules as arriving inactive ev-content-autoho-004confidence B. CI/CD variables, schedule variables, pipeline triggers, job traces and artifacts, package and container registry images, webhooks, encrypted tokens and secure files are not exported ev-content-autoho-004confidence B. Each of those is listed from the vendor's project settings before the move. Other GitLab migration routes were not checked for this article.
Two more pipeline dependencies need a check on either platform. Where test jobs run in a container image stored in the vendor's registry, the in-house team rebuilds it from its build file, or copies it into the buyer's registry while the vendor's is still reachable. Jobs that target self-hosted runners (machines the team registers itself to execute pipeline jobs, as opposed to machines the pipeline service provides) by label need a machine with that label on the buyer's side. On GitHub, such a job stays queued until a matching runner is online and idle, and a job queued for more than 24 hours fails ev-content-autoho-008confidence B. A matching machine that is busy or offline holds the job back too, so the first scheduled night needs a check of the queue as well as of the labels.
Test data, environments and screenshot baselines
Every piece of test data the suite needs should run from the buyer's pipeline before the vendor leaves. Seed scripts started by hand, user accounts created manually in a staging environment and fixture files referenced by path all need an owner on the buyer's side before the move. Where a fixture contains personal data, the article on GDPR and test data in outsourced QA covers what the buyer must do with it, and the move is a natural moment to replace such fixtures with generated data.
Visual baselines (reference screenshots that a test compares with the current screen) can fail on new machines even when the product has not changed. Playwright's documentation warns that browser rendering can vary with the host operating system, version, settings, hardware, power source, headless mode and other factors, and says to run tests in the environment where the baselines were generated ev-content-autoho-005confidence B. File names are the second trap. By default a name carries the browser and the platform, as in example-test-1-chromium-darwin.png, the project name replaces the browser name where several projects are configured, and the path template is configurable ev-content-autoho-006confidence B. Under the default naming, a baseline made on one platform is not the file another platform looks for.
The in-house team regenerates baselines on its own pipeline image where the platform changes. A person compares the new images with the old ones before they are committed, so that a fault visible that day does not become the reference.
Third-party sandboxes carry a quieter risk. A payment, messaging or identity test account registered to a vendor engineer's email address may be hard to recover once that mailbox closes. Each sandbox account moves to a buyer-owned address while the vendor engineer can still confirm the change, and the vendor keeps a login until the close.
The flaky list is a handover artifact
The list of unstable tests holds judgment that the test code does not show, and without it a suite can look healthier than it is. The article on flaky tests in outsourced automation explains how retries turn a failed first attempt into a passing build and how to measure the effect.
Three items make up the flaky handover: the retry configuration of every pipeline, the tests reported as flaky over a recent run history with their counts, and the quarantine (a list of tests kept out of the release verdict because their results cannot be trusted) entries with the reason and date for each. The in-house team takes all three as a backlog and deletes nothing during the handover. After the close it decides for each test whether to fix, rewrite or retire it.
The handover checklist in sequence
The phases run in order so that nothing closes before its replacement has run. Rights, the freeze and the lists come first; the copy and the rebuild follow while the vendor keeps running; the in-house team then runs the suite on its own infrastructure beside the vendor's runs; access closes last. The calendar length of each phase follows from the release cadence, which also sets how much regression the in-house team carries from its first week, as the article on release cadence and QA capacity explains.
Automation handover in five phases
- Phase 1, rights: written transfer of the test code and a license to any vendor framework the suite imports, signed before the copy is made
- Phase 1, owners: named in-house framework owner, image and runner owner, and rota for failed runs
- Phase 1, pass criterion: written definition of a passed solo run and the number of consecutive releases needed, in the terms of the contract's transition period
- Phase 1, freeze: vendor stops framework changes from an agreed date, and a sync rule covers the test fixes it still makes
- Phase 1, baseline: full-run reports recorded after the freeze, kept as the reference for the solo run
- Phase 1, repositories: list of every repository the suite needs, including shared libraries, repositories nested as submodules and private packages, with the host and owner of each
- Phase 1, pipeline: pipeline files plus a list of every CI/CD variable and secret by name, the system it opens and the buyer's person who issues a new value
- Phase 1, flaky list: retry settings per pipeline, recent tests reported as flaky with counts, and quarantine entries with reason and date
- Phase 2, repository copy: mirror copy including all LFS objects into the buyer's organization, branches and tags checked, vendor's repository left running
- Phase 2, packages and images: private test packages republished and container images rebuilt or copied into the buyer's registry
- Phase 2, runners: buyer-owned runners registered under the labels the pipeline files use, or the labels changed in the pipeline files
- Phase 2, secrets: a new value issued by the owner of each system, while the vendor's value stays valid until Phase 5
- Phase 2, schedules and triggers: nightly and release schedules activated with their variables, and triggers recreated
- Phase 3, test data: seed scripts and fixtures running from the buyer's pipeline, and any fixture with personal data replaced or cleared
- Phase 3, environments: browser and operating system versions of the vendor's runs recorded and matched or deliberately changed in the buyer's image
- Phase 3, visual baselines: regenerated on the buyer's image where the platform changes and compared by a person before commit
- Phase 3, sandboxes: third-party test accounts moved to buyer-owned addresses, with a vendor login kept until Phase 5
- Phase 4, first solo run: full suite from the buyer's pipeline on a build and suite commit the vendor has also run, with every verdict difference logged and explained
- Phase 4, release cycles: in-house team owns the release verdict for the agreed releases while the vendor answers questions and keeps its runs as a comparison
- Phase 4, repeat by hand: each vendor answer recorded next to the test or module it concerns, with the in-house engineer who has since repeated the fix
- Phase 5, vendor's repository: transferred beside the buyer's working copy for its issues and pull requests, or archived, after the criterion is met
- Phase 5, close: vendor accounts, deploy keys, tokens, sandbox logins and runners removed on one agreed date against the Phase 1 lists
If the solo runs keep producing unexplained verdict differences, the vendor's access stays open and the close date moves. The pass criterion is written in Phase 1 for that reason: agreed after the first bad run, it becomes a negotiation. The article on exit clauses covers how the contract ties the transition period to criteria rather than a fixed date.
A framework rewrite stays out of all five phases. The baseline reports and the vendor's parallel runs both describe the existing suite, so a rewritten one would have nothing to be compared with. Changes the in-house team wants go into a backlog and start after the close.