@testdino/playwright sends results as tests execute, so no separate upload step runs.
Prerequisites
- A TestDino account with a project created
- A TestDino API key (Generate API Keys)
- TestDino Example Repository for sample tests and ready-to-use CI configs
- A CircleCI account with access to your repository
@testdino/playwrightinstalled and configured inplaywright.config.ts|js|mjs:
playwright.config.ts
Set Up Your API Key
- Open your project in CircleCI
- Go to Project Settings → Environment Variables
- Click Add Environment Variable
- Set the name to
TESTDINO_TOKEN - Paste your TestDino API key as the value
- Save the variable
Basic Config
.circleci/config.yml: Basic config
.circleci/config.yml: Basic config
.circleci/config.yml
Sharded Test Runs
For larger test suites, CircleCI parallelism splits tests across multiple containers. Each shard streams its own results, and TestDino groups them into one run when they share aci-run-id.
How it works
- CircleCI runs Playwright across 4 shards using
parallelism: 4 - Each shard streams its results to TestDino during the run
- Every shard passes the same
--ci-run-idso TestDino merges them into a single run - No merge or upload job runs after the shards finish
Full sharded config
.circleci/config.yml: Sharded config
.circleci/config.yml: Sharded config
.circleci/config.yml
Key details
Set the
ciRunId reporter option in playwright.config to $CIRCLE_WORKFLOW_ID if you prefer running npx playwright test directly instead of npx tdpw test.
Run Locally
Troubleshooting
Results not appearing on the dashboard
Results not appearing on the dashboard
Confirm
@testdino/playwright is in your playwright.config reporter array and TESTDINO_TOKEN is set in the project environment. Results stream during the run, so no separate upload step is required.TESTDINO_TOKEN not found
TESTDINO_TOKEN not found
Confirm the environment variable is set in CircleCI → Project Settings → Environment Variables. Variable names are case-sensitive.
Related
CI Optimization
Reduce CI time with smart reruns
Environment Mapping
Route test results to Dev, Staging, or Production by branch
Integrations
Connect Slack, Jira, Linear, Asana, and more
TestDino MCP
Access test results and fix issues with AI agents