Control plane outside. Execution plane close to the product.
TestPilot Works separates project orchestration, run state, reporting and audit metadata from execution. Playwright browser/UI runs use customer-isolated Private Runners; Pytest API/backend/data/AI runs use an independent engine service. Both can appear in unified Execution History. The recommended Playwright deployment is hybrid-first.
Deployment modes
- Private Runner: execution stays inside the customer network.
- Hybrid Runner: managed orchestration plus customer-local execution; this is the preferred default.
- Cloud Runner: suitable only for approved public or allow-listed test systems.
- Standalone Pytest Engine: independently deployed Python service; credentials and test targets must be secured in the engine environment.
Target URLs and credentials stay runner-local.
The control plane does not need to store the real customer staging or internal endpoint. It stores an environment label such as staging or uat; the real BASE_URL, API_BASE_URL, credentials and allowlist remain on the private runner.
A runner may claim a job only when tenant, project, supported suite and environment match. Teams with staging and UAT normally deploy separate runner instances with separate local endpoint configuration.
Customer-specific test packs
Private Playwright suites can live outside the platform core in a customer-controlled repository or filesystem. The runner chooses the local test root; the control plane cannot override it.
API, backend, data and AI testing with a separate Python engine.
TestPilotWorks-Pytest is an independent proprietary engine. Authorized customers may run it separately with Docker or connect it as a provider to the TestPilotWorks control plane. Pytest runs are kept out of the Playwright Private Runner queue. Request an evaluation →
Engine API v1 provides GET /v1/engine, POST /v1/runs, GET /v1/runs/{run_id}, cancellation and a JUnit XML artifact endpoint. Set PYTEST_ENGINE_URL and PYTEST_ENGINE_API_KEY on the control plane and TPW_ENGINE_API_KEY on the engine server.
Trigger tests without exposing a human dashboard credential.
CI credentials are project-scoped, revocable, expiring and limited by explicit suite and environment allowlists. Raw credentials are shown once and stored only as hashes.
Supported CI-triggered suites are smoke, api and regression. Performance smoke is intentionally excluded from CI credentials and remains a customer-controlled runner action.
Pipeline helper
A small release gate built from fresh QA evidence.
The gate evaluates the latest completed Smoke, API and Regression result for a project and environment. Evidence older than 24 hours is treated as stale.
| STATE | MEANING |
|---|---|
| READY | All required suites passed and the evidence is fresh. |
| BLOCKED | At least one latest required suite failed. |
| STALE | Required suites passed, but at least one result is older than 24 hours. |
| NO_DATA | At least one required suite has no completed result. |
Flaky tests do not automatically block a release, but they raise a READY release from LOW to MEDIUM risk.
Useful QA signal without shipping test-level customer data.
The Playwright Private Runner aggregates results locally and uploads only five counters for its aggregate reporting path:
For Playwright aggregate reporting, test names, page URLs, assertion messages, screenshots, traces, request bodies and response bodies are not included. Pytest uses a separate Engine API contract; review JUnit artifacts and engine logging policies before production adoption. CI also validates the summary schema so new telemetry cannot be added silently.
Least privilege is the default operating model.
- Use staging and test environments by default.
- Use least-privilege test identities and customer-controlled secret stores.
- Never hard-code credentials or write them into logs.
- Keep screenshots, video and traces disabled unless explicitly required.
- Redact authorization headers, cookies, tokens, passwords, API keys and session data before logs leave the runner.
- Use short retention and failure-only artifacts when artifacts are enabled.