What you’ll learn
- How to upload Playwright results using the TestDino CircleCI Orb
- Orb configuration options for HTML, full bundle, and custom paths
Prerequisites
Before setting up, ensure you have:- 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
- Playwright configured with JSON and HTML reporters in
playwright.config.js:
playwright.config.js
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 Upload
.circleci/config.yml
Upload with HTML Report
.circleci/config.yml
Upload Full Bundle
Include all artifacts (JSON, images, videos) in one upload..circleci/config.yml
Upload with Custom Paths
Specify custom report paths and include images and videos..circleci/config.yml
Orb Parameters
| Parameter | Required | Description |
|---|---|---|
report_directory | Yes | Path to the Playwright report directory |
token | Yes | CircleCI environment variable name holding the TestDino API key |
upload_html | No | Upload HTML report (true / false) |
upload_full_json | No | Upload full JSON bundle with all artifacts |
upload_images | No | Upload screenshot attachments |
upload_videos | No | Upload video recordings |
json_report | No | Custom path to JSON report file |
html_report | No | Custom path to HTML report file |
verbose | No | Enable verbose logging output |
Troubleshooting
Orb not found or version error
Orb not found or version error
Ensure the orb is imported correctly:
testdino: testdino/[email protected]. Check the CircleCI Orb Registry for the latest version.TESTDINO_TOKEN not found
TESTDINO_TOKEN not found
Confirm the environment variable is set in CircleCI → Project Settings → Environment Variables. If using contexts, verify the job references the correct context name.
Next Steps
CI Optimization
Reduce CI time with smart reruns
Branch Mapping
Map branches to environments for organized test runs
Integrations
Connect Slack, Jira, Linear, Asana, and more
TestDino MCP
Access test results and fix issues with AI agents