Skip to content

How to change test name in allure-playwright? no "@DisplayName" annotation for allure-js #2625

Discussion options

You must be logged in to vote

Since 3.0.0 (currently in beta), you can use displayName runtime function:

import { test } from "@playwright/test";
import { displayName } from "allure-js-commons";

test("first test",  async() => {
  await displayName("changed name");
});

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tepmehatop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants