shadowFind works with cypress runner but doesn't work when run in the command line
shinjji opened this issue · 1 comments
shinjji commented
I'm using shadowFind in a test:
cy.shadowGet('.ui-widget')
.shadowFind('.logo-wrapper')
.shadowContains('logoText')
It works fine when using the cypress runner but when I try 'cypress run' to run it in the command line it doesn't work:
CypressError: Timed out retrying: Expected to find element: 'undefined', but never found it.
Am I doing something incorrectly?
Thanks!