Skip to content
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

Allow user/tests to delete (and hence not just append but modify) any label that is available #600

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

TheAutomationWizard
Copy link

@TheAutomationWizard TheAutomationWizard commented Jun 17, 2021

  1. Allows user to clear all data available under label "feature".
  2. Allows user to clear all data available under any label.

Context

[//]: # (
Problem Statement - At present allure.dynamic.feature('Sample Feature Name') : allows user to add as many feature names as possible. However, if a user wants to remove any such feature name added based on certain condition met during runtime he can't.

For instance -

  1. Lets assume all tests of a mini project belongs to "Feature One". So in all tests we can use allure.dynamic.feature("Feature One") to assign the feature to all tests.
  2. But for just few tests, if certain criteria meets we need to make those tests linked with feature ("Feature Two"). As of now using allure.dynamic.feature("Feature Two") appends the feature name to the lists of feature, thus making the later set of tests available in report under both feature names.

)

Checklist

  • [Sign Allure CLA][cla]
  • Provide unit tests

1) Allows user to clear all data available under label "feature".
2) Allows user to clear all data available under any label.
@TheAutomationWizard
Copy link
Author

@sseliverstov Please take out some time, to review my PR. Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant