Skip to main content
The TestDino CLI uploads Playwright test results, caches test metadata for intelligent reruns, and retrieves previously failed tests. It collects metadata, artifacts, and execution data from local runs and CI pipelines.
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

npm install tdpw
1

Configure Playwright reporters

playwright.config.js
reporter: [
  ['html', { outputDir: './playwright-report' }],
  ['json', { outputFile: './playwright-report/report.json' }],
]
2

Run tests

npx playwright test
3

Upload results

npx tdpw upload ./playwright-report --token="your-api-token" --upload-html

Commands

CommandDescription
tdpw upload <dir>Upload Playwright reports with optional attachments
tdpw cacheStore test metadata for intelligent reruns
tdpw last-failedRetrieve previously failed tests for selective reruns

Common Options

OptionDescription
-t, --token <value>Authentication token (required)
--environment <value>Environment tag (e.g., staging, production)
--tag <values>Comma-separated run tags (max 5)
-v, --verboseEnable verbose logging

Environment Variables

VariableDescription
TESTDINO_TOKENAuthentication token
TESTDINO_TARGET_ENVDefault environment tag
TESTDINO_RUN_TAGSDefault comma-separated run tags

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