Quick Reference
The TestDino TeamCity Recipe uploads Playwright results after each build. This table shows what artifacts each option includes.Prerequisites
- A TestDino account with a project created
- A TestDino API key (Generate API Keys)
- A TeamCity project with Playwright tests
- Playwright configured with JSON and HTML reporters in
playwright.config.js:
playwright.config.js
Installation Methods
- Install from Administration (Global)
- Install While Adding a Build Step (Quick)
This installs the plugin for all projects in your TeamCity instance.
- Go to TeamCity Administration
- Open Plugins
- Click Browse Plugins (JetBrains Marketplace)
- Search for “TestDino”
- Click Install
- Restart TeamCity if prompted
Adding the Build Step
1
Open Build Steps
- Go to your TeamCity Build Configuration
- Click Build Steps
- Click Add build step

2
Select the Runner
From the Runner Type dropdown, select TestDino - Upload Playwright Report.The recipe configuration form appears.

3
Configure and Save
Fill in the fields based on your setup (see Configuration Reference below), then click Save.
Configuration Reference
Configuration Examples
- Basic Setup (JSON Only)
- Full Analytics Setup
- Custom Paths Setup
- Screenshots and Videos Only
Upload only the JSON report for quick analytics:
Using Environment Variables
Instead of entering your API token directly in the build step, use an environment variable for better security.1
Setting the Token
- Go to your TeamCity Build Configuration
- Click Parameters
- Add a new parameter:
- Name:
env.TESTDINO_TOKEN - Value: Your API key
- Type: Password
- Name:
TESTDINO_TOKEN from the environment. This keeps your key out of build logs and makes updates easier.2
Benefits
- Token stays hidden in build logs
- Easy to update without editing build steps
- Shareable build configurations without exposing secrets
Running Your Build
With the recipe configured:- Your Playwright tests run as usual
- Reports and artifacts are generated
- The TestDino recipe collects everything
- Files are uploaded to your TestDino project
- A confirmation message and link appear in the build log
Troubleshooting
1. Upload Fails with Authentication Error
1. Upload Fails with Authentication Error
Check your API token:
- Verify the token is correct and hasn’t expired
- Confirm the token has access to the right TestDino project
- Make sure you’ve entered it in the recipe or set
TESTDINO_TOKENin the environment
2. Report Directory Not Found
2. Report Directory Not Found
Verify your paths:
- Check that your Playwright tests actually ran and generated output
- Confirm the path matches your
playwright.config.jssettings - Try using an absolute path if relative paths aren’t working
3. Upload Succeeds, but Run Doesn't Appear
3. Upload Succeeds, but Run Doesn't Appear
Wait and refresh:
- Uploads can take a few seconds to process
- Check the build log for error messages
- Verify your API token has access to the project
- Click the Sync button in the TestDino Test Runs view
4. Missing Artifacts (Screenshots, Videos, Traces)
4. Missing Artifacts (Screenshots, Videos, Traces)
Enable the right checkboxes:
- Screenshots → Image Attachments
- Videos → Video Attachments
- Traces → Trace Files
5. Build Step Runs Before Tests Finish
5. Build Step Runs Before Tests Finish
Reorder your build steps:
- The TestDino step must run after your Playwright test step
- Drag and drop to reorder in the Build Steps list
6. Need Detailed Logs?
6. Need Detailed Logs?
Turn on Verbose Logging in the recipe settings. This adds extra output to your build log that helps pinpoint where things go wrong.
Best Practices
Keep Your API Token Secure
Keep Your API Token Secure
- Store the token in TeamCity parameters with password type
- Avoid pasting tokens directly in build step fields
- Replace tokens when they expire or if exposure is suspected
Upload What You Need
Upload What You Need
- For quick feedback, JSON-only is fastest
- For debugging failures, add screenshots and traces
- For full analysis, use the Full JSON Bundle option
Run TestDino After Tests Complete
Run TestDino After Tests Complete
Make sure the TestDino step runs after your Playwright tests finish. Consider setting the step to run “Even if build steps fail” so you can see failures in TestDino even when tests don’t pass.
Match Your Report Paths
Match Your Report Paths
If you customize Playwright’s output directories in
playwright.config.js, update the recipe’s custom path fields to match.Use Verbose Logging During Setup
Use Verbose Logging During Setup
Turn on verbose logging when first configuring the recipe. Once everything works, you can turn it off to keep build logs clean.
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