-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A way to turn off creation of default labels, or to remove them. #1165
Comments
For Allure Testops users, the recommended way is to use any other custom label (e.g., prefix all the default labels with your company ID, such as By the way, your issue is valid, and we plan to support default label overriding. However, I'm not sure when we will push such a change. |
From the Allure Framework perspective, the missing |
Thanks for your reply. |
You can provide default labels for all the tests using environment variables. See https://allurereport.org/docs/jest/#set-labels-globally. Is that what you want? |
Sadly it's not enough for us, we populate labels with data extracted from test name, path to it and etc. |
We added an additional configuration option to provide global labels for each reporter (see #1217 and #1221) For conditional labels (e.g. when you add a label based on a test name or package), you can try to create a custom LifecycleListener which can be added via |
allure-jest
andallure-playwright
in v3 by default adds labels, such aspackage
, in my use case i already setting custom labelPackage
for my tests, which causes problems in Allure Testops, doubling entries for my tree.Is there a way to disable creation of default labels?
Or is there some way to easily extend
allure-jest
andallure-playwright
to remove those labels?The text was updated successfully, but these errors were encountered: