-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Chainer descendants not found #642
Comments
Hopefully this is enough information for you guys! Seems to be broken in version 0.20.0. |
I believe this is due to a typo. The chainer is spelled 'descendents' with all vowels being 'e's. The error could definitely be more helpful though. |
Ah! Thanks! By the way, the documentation currently states this, I guess this should also be updated there 😃 See -> https://docs.cypress.io/guides/references/assertions.html#Chai-jQuery |
Before I forget: this used to work in version 0.19.x |
We rewrote chai-jquery in 0.20.0 and during that time we misspelled the word. It works right now as Perhaps we could do a levenshtein check to do the "Did you mean '...' suggestion |
The code for this is merged, but it has not been released yet. |
Documentation typo fixed: cypress-io/cypress-documentation#77 |
Fixed in |
Is this a Feature or Bug?
Bug
Current behavior:
Spits out error
CypressError: The chainer: 'descendants' was not found. Could not build assertion.
How to reproduce:
Add a spec with:
.should("have.descendants", ".some-selector")
Test code:
The text was updated successfully, but these errors were encountered: