Naming Runs
- Getting Started complete
- runs appearing on the dashboard with clear, human-readable titles like “Unit Tests” or “E2E Tests”.
How it works
Section titled “How it works”By default, runs have no title. On the dashboard they show up labeled by commit SHA, time, and environment — which is fine most of the time.
You set a title explicitly when you want runs to be distinguishable at a glance — typically when multiple CI jobs on the same commit run different test suites (unit + e2e, say).
Setting the title
Section titled “Setting the title”Three options, in order of convenience:
-
FLAKINESS_TITLEenvironment variable — supported by all official reporters. Set it in the CI job and the reporter attaches it to the report.Terminal window export FLAKINESS_TITLE="Unit Tests" -
CLI flag — when uploading or converting directly:
flakiness upload --title "My Suite" ./flakiness-reportorflakiness convert-junit --title "My Suite" ./test-results. -
Programmatic (reporter config) — each reporter exposes its own config API. Check your runner’s page under Test Runners for the exact option name.
Example: unit + e2e in one commit
Section titled “Example: unit + e2e in one commit”The example below uses GitHub Actions and Playwright Test. The general pattern applies to any CI/runner.
jobs: unit: runs-on: ubuntu-latest permissions: { contents: read, id-token: write } env: FLAKINESS_TITLE: Unit Tests steps: - uses: actions/checkout@v4 - run: npm ci - run: npx playwright test tests/unit
e2e: runs-on: ubuntu-latest permissions: { contents: read, id-token: write } env: FLAKINESS_TITLE: E2E Tests steps: - uses: actions/checkout@v4 - run: npm ci - run: npx playwright test tests/e2eBoth jobs run on the same commit and upload to the same project. Each sets FLAKINESS_TITLE, so the dashboard shows both runs for that commit labeled Unit Tests and E2E Tests.
Related
Section titled “Related”- Configuring Environments — when you want the runs in separate histories rather than labeled within the same one.