Skip to content

Naming Runs

You'll need
You'll have
  • runs appearing on the dashboard with clear, human-readable titles like “Unit Tests” or “E2E Tests”.

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).

Three options, in order of convenience:

  • FLAKINESS_TITLE environment 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-report or flakiness 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.

The example below uses GitHub Actions and Playwright Test. The general pattern applies to any CI/runner.

.github/workflows/tests.yml
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/e2e

Both 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.