@testdino/e2e reports each test run from the e2e framework by TesterArmy ↗ to TestDino when the run finishes. The test run appears on the dashboard with its test cases, retries, steps, errors, console output, screenshots, videos, and traces.
For Playwright, use the Node.js CLI instead.
Prerequisites
- Node.js
>= 22.12.0 e2e>= 0.16.0and< 1- TestDino API key (generate one)
- Git initialized repository (for commit and branch metadata)
@types/node, if you type-check your project withtsc
Installation
@testdino/e2e on npm ↗.
Set up
Addtestdino() to the reporters array in your e2e config. Other reporters, such as list, are optional and yours to keep.
e2e.config.ts
Reporter options
Pass options totestdino(). An option set in the config takes precedence over its environment variable.
e2e.config.ts
Sharded runs
Set the sameTESTDINO_CI_RUN_ID on every shard. TestDino merges the shards into 1 test run.
${{ github.run_id }}-${{ github.run_attempt }} as the ID. A shard started without TESTDINO_CI_RUN_ID uploads as its own test run.
Split mode
When your jobs run different files, use split mode instead of sharding. Give each job its position and the same split ID. TestDino merges the jobs into 1 test run.Differences from Playwright test runs
Troubleshooting
skipped (TESTDINO_TOKEN is not set)
skipped (TESTDINO_TOKEN is not set)
The reporter found no API key. Set
TESTDINO_TOKEN in the environment that runs npx e2e run, or pass token to testdino(). Generate a new key from API Keys if needed.not recorded (the project is over its execution limit)
not recorded (the project is over its execution limit)
Your organization used its executions for this billing cycle. Tests still run, but the test run is not saved. To resume recording, upgrade your plan, or on Pro and Team plans an Owner or Admin can add executions for this cycle.
not uploaded (no event channel the server offered could be reached)
not uploaded (no event channel the server offered could be reached)
The machine running the tests could not reach TestDino. Check that it allows outbound connections to TestDino, then run the tests again.
split ignored: a split position and TESTDINO_SPLIT_ID are needed together
split ignored: a split position and TESTDINO_SPLIT_ID are needed together
Only 1 of
TESTDINO_SPLIT and TESTDINO_SPLIT_ID was set. Set both on every job, as in Split mode.Related
Configuration
Review the commit, CI, and targets of a test run
Generate API Keys
Create and manage keys for the reporter and CI