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

Be able to grep tags and run only these tests as run parameters to work with testomatio #30329

Closed
petergeczi931 opened this issue Oct 1, 2024 · 1 comment
Labels
type: duplicate This issue or pull request already exists

Comments

@petergeczi931
Copy link

petergeczi931 commented Oct 1, 2024

What would you like?

I would like to run specific tests based on tags, when I create a plan in testomat.io, the tests has specific ids for each test, and it greps the test unique ids, and it passes them to cypress run command, but it does not support that now.
https://docs.testomat.io/usage/continuous-integration/

For example

npx cypress run --grep="Tf3777012|T69a88855|T25dc1597|T3f30c7c0|Ta6dd8f4b|T123ac7a3|Tb0d0b9a8|T68819640|Td4cdabf6|Tdc6f7871|T149727c1|Td5d9c24b|Tf8c3005b

it should run these 13 tests, but error is thrown, unknown option.
testomat.io docs says that it is possible for playwright and The filtering functionality for test execution is currently available for the following frameworks: Playwright & CodeceptJS. It would be nice also with Cypress.

Why is this needed?

To have specific report only for the tests that have run. And see these result directly in Jira ticket.

Other

No response

@jennifer-shehane
Copy link
Member

You can use our @cypress/grep plugin to achieve this. Outside of that, you can express support for this to be included natively here: #1865

@jennifer-shehane jennifer-shehane closed this as not planned Won't fix, can't repro, duplicate, stale Oct 1, 2024
@jennifer-shehane jennifer-shehane added the type: duplicate This issue or pull request already exists label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants