-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Adding .only
to multiple tests only runs the last one
#2828
Comments
This is related to Cypress using an earlier version of Mocha. Much of the work for the upgrade has been done though and is awaiting release. #2528 |
The code for this is done in 4.0, but this has yet to be released. We'll update this issue and reference the changelog when it's released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior:
When I run this suite
I would expect only tests 1 and 3 to run (this is what happens in mocha), but Cypress only runs the last one (3). Surprisingly, it does allow running more than one test when using only if they have the same name.
It would be nice if
only
in Cypress matched the behavior of mochaThe text was updated successfully, but these errors were encountered: