Quick Reference
After your Playwright tests finish in GitHub Actions, upload results to TestDino with a single command. This table shows the upload options and flags you need to get started.| Task | Command/Flag |
|---|---|
| Basic upload | npx tdpw upload ./playwright-report --token="..." |
| With HTML report | --upload-html |
| With all artifacts | --upload-full-json |
| Set environment | --environment="staging" |
| Always run | if: always() |
Basic Workflow
Add the upload step after your Playwright tests:if: always() condition ensures results upload even when tests fail.
Store the API Key
- Go to your GitHub repository
- Open Settings → Secrets and variables → Actions
- Click New repository secret
- Name:
TESTDINO_TOKEN - Value: Your TestDino API key
- Click Add secret
Need an API key? See Generate API Keys for step-by-step instructions.
Configure Playwright
Updateplaywright.config.js to generate the required reports:
Upload Options
| Flag | Description |
|---|---|
--upload-html | Include HTML report for interactive viewing |
--upload-images | Include screenshots |
--upload-videos | Include video recordings |
--upload-traces | Include Playwright traces |
--upload-full-json | Include all artifacts |
--environment | Set target environment tag |