gemini-testing / testplane

Testplane (ex-hermione) browser test runner based on mocha and wdio
https://testplane.io
MIT License
687 stars 62 forks source link

Ability to add tags for tests #1004

Open sipayRT opened 3 weeks ago

sipayRT commented 3 weeks ago

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