@nx/playwright plugin. The @testdino/playwright reporter streams each target’s results to TestDino during the run and groups them into one run.
Prerequisites
- A TestDino account with a project created
- A TestDino API key (Generate API Keys)
- An Nx workspace with
@nx/playwrightand one or more e2e projects @testdino/playwrightinstalled:
Configure the Reporter
Add@testdino/playwright to the reporter array in the Playwright config, layered on top of the Nx preset. Share this config across projects, or import it per project.
playwright.config.ts
Configure the e2e Target
Each e2e project runs through the@nx/playwright:playwright executor in its project.json.
project.json
Run Tests
Set the token and a shared run id, then run everye2e target. Each project streams its results to TestDino, and a shared TESTDINO_CI_RUN_ID groups them into one run.
Run in CI (GitHub Actions)
StoreTESTDINO_TOKEN as a repository secret and use the workflow run id as TESTDINO_CI_RUN_ID so every target groups into one run.
.github/workflows/e2e.yml
Shard a Single Project
To split one large project across machines, pass Playwright’s--shard through the Nx target and keep the same TESTDINO_CI_RUN_ID on every shard. Arguments after -- pass straight to Playwright.
.github/workflows/e2e-sharded.yml
Troubleshooting
Results not appearing on the dashboard
Results not appearing on the dashboard
Confirm
@testdino/playwright is in the reporter array of the Playwright config the target loads, and TESTDINO_TOKEN is set in the environment. Results stream during the run, so no separate upload step is required.Targets show up as separate runs
Targets show up as separate runs
Set
TESTDINO_CI_RUN_ID to the same value for every target and shard. A per-target value creates one run each.Nx serves a cached result instead of running the tests
Nx serves a cached result instead of running the tests
e2e targets reach the network, so they should not be cached. Remove
e2e from cacheableOperations (or the target’s cache option), or run with --skip-nx-cache.Related
GitHub Actions
Full GitHub Actions setup and status checks
CI Optimization
Reduce CI time with smart reruns
Environment Mapping
Route test results to Dev, Staging, or Production by branch
TestDino MCP
Access test results and fix issues with AI agents