Skip to content

[Feature]: Only show tags in Report which are picked up by grep #30351

Open
@cscheffauer

Description

@cscheffauer

🚀 Feature Request

At the moment all tags on a individual test are shown in the report.
Is there a way to only show the tags (or highlight those), which are the reason why the test has been picked up by grep or not when using grep-invert?

Example

test(
  'test title',
  {
     tags: ['tag1', 'tag2']
  }
...

run with grep to filter for tag1
Only tag1 should show on the report (or being highlighted or so)

Motivation

If there are a lot of tags on a test, the report can get really messy. Showing just the tag why the test did run would cleanup the test report and make it more readable.

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