How to change test name in allure-playwright? no "@DisplayName" annotation for allure-js #2625
Answered
by
baev
tepmehatop
asked this question in
Questions & Support
-
Hi. There is a need to change test name during the process. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Answered by
baev
Jul 3, 2024
Replies: 1 comment
-
Since 3.0.0 (currently in beta), you can use import { test } from "@playwright/test";
import { displayName } from "allure-js-commons";
test("first test", async() => {
await displayName("changed name");
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tepmehatop
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since 3.0.0 (currently in beta), you can use
displayName
runtime function: