-
-
Notifications
You must be signed in to change notification settings - Fork 147
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
While running scenario with specific tag others are marked as pending in results #436
Comments
I think they should be marked as "Skipped" instead of "Pending". Otherwise the Cypress test output looks incorrect (as if tests are hanging instead of not running). |
This isn't something we chose. See eg. cypress-io/cypress#3092 and cypress-io/cypress-documentation#593. |
It seems like you have multiple test suites that you commonly run separate from each other, making the "pending output" seem like a polution. I get that, but why do you have separate types of tests gathered in a single test suite? Split them up and use eg. an environment variable to specify |
Due to personal reasons, the previous maintainers of this package are stepping down and handing the reigns over to me, a long-time contributor to the project and a user of it myself. This is a responsibility I'm very excited about. Furthermore, I'd like to thank @lgandecki ++ for all the work that they've done so far. Read more about the transfer of ownership here. The repository has however moved and all outstanding issues are being closed. This is not a reflection of the perceived importance of your reported issue. However, if after upgrading to the new version, you still find there to be an issue, feel free to open up another ticket or comment below. Please make sure to read CONTRIBUTING.md before doing so. |
Current behavior
This feature file has two tests marked with tags @smoke and @regression. I'm running command npx cypress-tags run -e TAGS='@smoke' to run only scenario marked with tag @smoke. This command runs the desired scenario but marks others as pending. Example of the result shown in the below image
https://ibb.co/CPfqzLv
Desired behavior
Scenarios that are not executed should not show in the results.
Test code to reproduce
Google.feature
Step definition:
Givens.js
Versions
The text was updated successfully, but these errors were encountered: