v11.8.0 — Tags support
This release adds tags support for Testplane and Playwright. You can now see your test tags and filter by them.
🚀 Features
Tags
Here is an example of how tags look in a test. You can see them on the right side of the test title. A tag with a yellow color means it was added dynamically during the test run using the addTag command.
To filter by tags, you can either:
- Type the tag name starting with the @ symbol in the filter field.
- Or simply click on a tag directly in the test list.
Example of tests with tags for Testplane
describe("test tags", { tag: ["common"] }, () => {
describe("test tags", { tag: ["main"] }, () => {
it("Feature A", { tag: ["desktop", "uniq"] }, async ({browser}) => {
await browser.addTag("dynamic tag");
})
it("Feature B", { tag: ["desktop", "smoke", "slow"] }, async ({browser}) => {
// test...
})
it("Feature C", { tag: "old" }, async ({browser}) => {
// test...
})
it("Another test", { tag: ["smoke"] }, async ({browser}) => {
// test...
})
})
})For more details see documentation about tags in Testplane.