Skip to content

[Feature]: Sneak Peek: better Playwright Reporting for multiple failed tests #35735

Open
@pfteter

Description

@pfteter

🚀 Feature Request

The Playwright HTML Report is not optional from the UX standpoint when there are a lot of tests that have failed.

Example when there are a lot of Visual Regression Tests that failed because of a single cross cutting change like CSS(quite common) a huge number of VRT tests usually fails with minor changes(that can be ignored while reviewing):

Image

Now we need to navigate to each individual failed test, scroll to the bottom of that page to see the VRT results and navigate back to the list and remember what test was clicked last to open the next one - this is usability hell.

Proposals:

  • Navigate between tests with hotkeys or a next test navigation button (when a test is open the Arrow key will navigate to the next one or there is a sticky button to navigate to the next (failed) test result) This doesn't solves the problem that we still need to scroll down to view the VRT compare component at the bottom of the report
  • In the test overview list (see image) it's possible to expand all tests in the view and have a sneak peek of the VRT image to quickly have an overview

Example

Image

Motivation

It's a huge pain to navigate back and forth between tests in the html report to review failed tests if a crosscutting concern is changed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions