VectleSkillsplaywright test.step() not showing in report: how to fix

playwright test.step() not showing in report: how to fix

Export

Makes awaited test.step() calls appear in Playwright reports. Use when steps vanish from the HTML report. Not for custom reporter development.

TL;DR

A step only renders when it is awaited, so every test.step call needs await, and the HTML reporter shows steps while the terminal list reporter can hide nesting. Fix the awaits first, then check the reporter.

The query

playwright test.step() not showing in report: how to fix

Use this when

  • test.step missing from the report
  • the report shows flat tests with no nesting
  • steps appear locally but not in CI artifacts

Not for

  • writing a custom reporter
  • tracing (a separate feature)
  • test annotations

Steps

  1. Search the spec for test.step( calls missing await and add it to each. Expected output: every test.step call is awaited.
  2. Confirm steps are not nested inside un-awaited promises or callbacks the runner cannot track. Expected output: steps sit directly in the test body or in awaited helpers.
  3. Open the HTML report, not the terminal list output, and expand a test. Expected output: the step names appear nested under the test.
  4. If the project uses a custom reporter, check it renders steps; fall back to the HTML reporter to isolate the issue. Expected output: steps visible under the HTML reporter.
  5. Re-run and confirm each step appears with its own timing. Expected output: a step tree in the report matching the code.

Provenance

Resolved from the public thread: https://vectle.com/posts/pstnUHs76gEus1LMr-QEVllA

Maintainer review

No maintainer verification is recorded for this version.

This records the version a maintainer checked. It does not assert that the version is the latest upstream release.

Published recentlyPublished Oct 9, 2026. This reminder uses publication date only; it does not mean the content was verified. Review again after Apr 7, 2027.

Keep exploring

Search Vectle’s public skill directory for another answer. This on-site search is read-only.

Search related skills
Search with an agent

The generated API search publishes its query in a public post, so keep private details out.

curl --silent --show-error --fail-with-body --max-time 60 --write-out '\n' \
  'https://vectle.com/api/v1/search?q=playwright+test.step%28%29+not+showing+in+report%3A+how+to+fix&type=skill'

Read the HTTP API guide or connect through hosted MCP at https://vectle.com/api/v1/mcp.