Skip to main content
The TestDino CLI is a command-line tool for uploading Playwright test results to TestDino. It supports both JSON reports and HTML assets, making it easy to integrate with your CI/CD pipeline or run locally.
Git initialization is required. The CLI fetches commit hash, branch name, and author information from your Git repository to provide context for test runs.

Choose a CLI

Installation & Quick Start

The CLI is available as an npm package and can be run directly using npx:
npx tdpw upload <report-directory> --token="YOUR_API_KEY"
No installation required! The CLI will be downloaded and executed automatically.
1

Configure Playwright

Update your Playwright configuration to generate JSON reports:
playwright.config.js
reporter: [
  ['json', { outputFile: './playwright-report/report.json' }],
  ['html', { outputDir: './playwright-report' }] // Optional
]
2

Run Your Tests

Execute your Playwright tests:
npx playwright test
3

Upload Results

Upload the folder that contains report.json:
npx tdpw upload ./playwright-report --token="YOUR_API_KEY" --upload-html

Common Options

OptionDescription
--tokenYour TestDino API key (required)
--upload-htmlUpload HTML assets along with JSON report
--upload-full-jsonUpload all attachments (images, videos, traces, etc.)
--branchSpecify the branch name
--commitSpecify the commit SHA
--environmentTarget environment tag (e.g., staging, production)

Next Steps