-
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
.its command with compound properties failing TypeScript check #6431
Comments
Work-around Add |
can i work on this one? |
@arshmakker yes we would love an open PR. Check out our contributing doc and ask us if you get stuck. |
I am trying to write the test case: cy.wrap({
foo: {
bar: 1
}
}).its('foo.bar') in the tests in 'CypressItsTests' namespace, I had two questions:
|
Instructions for running the Please feel free to open a WIP PR where we can address questions about the specific code you're writing. |
The code for this is done in cypress-io/cypress#6667, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Cypress v3, v4
Our typescript definition for
cy.its
command "understands" the properties of the subject, thus it can dobut it does not understand nested (compound) properties that Lodash
_.get
can do and we use under the hoodMaybe someone can look at Lodash and its TypeScript definition for
_.get
to see if they have solved this problem and bring the solution?The text was updated successfully, but these errors were encountered: