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
Support multiple tags #78
Comments
Im currently working on trying to implement this |
Hi @JonathanDagan . Actually I would go with extending signature for |
@JonathanDagan Hi. Do you need any help with the issue? |
I will... Just was busy recently and will get to it asap 😄 |
Hi @JonathanDagan . |
published 2.14.0, now tag function is variadic, so it can have multiple tags in same command with complete backward compatibility: cy.allure().tag('one')
cy.allure().tag('two', 'three', 'four') |
Is your feature request related to a problem? Please describe.
Currently when using the
.tag()
function the test can only posses one tag. I would like the plugin to have the option to tag the test with multiple tags so when running the tests by their tag I could run the same test under two different tags.Describe the solution you'd like
I see two different ways to approach this issue. I would like to implement one of two options:
.tags()
function that receives a list of arguments ->.tags(['TAG1', 'TAG2'])
.tag()
function multiple times ->.tag('TAG1').tag('TAG2')
The implementation needs to support typescript
Additional context
I would probably go for implementing the second option
The text was updated successfully, but these errors were encountered: