testplane icon indicating copy to clipboard operation
testplane copied to clipboard

Ability to add tags for tests

Open sipayRT opened this issue 6 months ago • 0 comments

Contribution

Describe the user story

No response

Describe the solution you'd like

I need to label my tests with tags so that I can later filter the tests by these tags in the report. For example,

testplane.setTag(['smoke', 'desktop']);
it("some smoke test", async ({browser}) => {});

testplane.setTag('experiment');
it("some experiment", async ({browser}) => {});

and in the HTML-report labels (like in GitHub issues) can be displayed for each test. Clicking on them should filter the test tree

Describe the drawbacks of your solution

No response

Describe alternatives you've considered

No response

sipayRT avatar Aug 22 '24 12:08 sipayRT