You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @nagash77
It's because in my actual code, I need to get the body inside within(() => { ... }). Calling cy.get('body') inside within cannot retrieve the body, so I have to use the workaround of cy.document().its('body')
This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.
Current behavior
When clicking the
document.body
element, Cypress reportsTypeError
ofoptions.$el.toArray is not a function
:Desired behavior
No response
Test code to reproduce
Cypress Version
13.1.0
Node version
16.13.0
Operating System
macOS 13.4.1
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: