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:
Installation Methods
- Install from Administration (Global)
- Install While Adding a Build Step (Quick)
- Go to TeamCity Administration
- Open Plugins
- Click Browse Plugins (JetBrains Marketplace)
- Search for “TestDino”
- Click Install
- Restart TeamCity if prompted
Adding the Build Step
Open Build Steps
- Go to your TeamCity Build Configuration
- Click Build Steps
- Click Add build step

Select the Runner

Configure and Save
Configuration Reference
Configuration Examples
- Basic Setup (JSON Only)
- Full Analytics Setup
- Custom Paths Setup
- Screenshots and Videos Only
Using Environment Variables
Instead of entering your API token directly in the build step, use an environment variable for better security.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.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
- 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
- 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
- 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)
- Screenshots → Image Attachments
- Videos → Video Attachments
- Traces → Trace Files
5. Build Step Runs Before Tests Finish
5. Build Step Runs Before Tests Finish
- 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?
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
Match Your Report Paths
Match Your Report Paths
playwright.config.js, update the recipe’s custom path fields to match.Use Verbose Logging During Setup
Use Verbose Logging During Setup