Git initialization is required. The CLI reads commit hash, branch name, and author information from your repository.
Choose Your CLI
Node.js
Upload reports, cache results, and rerun failed tests. Use
npx tdpw upload after tests run.Python
Upload pytest-based Playwright reports. Use with
pytest-playwright and pytest-playwright-json.Quick Start
Commands
| Command | Description |
|---|---|
tdpw upload <dir> | Upload Playwright reports with optional attachments |
tdpw cache | Store test metadata for intelligent reruns |
tdpw last-failed | Retrieve previously failed tests for selective reruns |
Common Options
| Option | Description |
|---|---|
-t, --token <value> | Authentication token (required) |
--environment <value> | Environment tag (e.g., staging, production) |
--tag <values> | Comma-separated run tags (max 5) |
-v, --verbose | Enable verbose logging |
Environment Variables
| Variable | Description |
|---|---|
TESTDINO_TOKEN | Authentication token |
TESTDINO_TARGET_ENV | Default environment tag |
TESTDINO_RUN_TAGS | Default comma-separated run tags |
Related
View Test Runs
View uploaded test results in the dashboard
Rerun Failed Tests
CI workflow for rerunning only failures
Generate API Keys
Create and manage API tokens
Python CLI
Use TestDino with pytest