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
Waiting on an upcoming assertion has to be defined for every command, this is no different for custom commands. This is currently not documented. I have solved it a while ago, see #3109 (comment)
Current behavior:
The
should()
method will not wait in case of custom command:Desired behavior:
The
should()
method waits also in case of custom commandSteps to reproduce: (app code and test code)
Custom command:
Test:
This assertion will fail if the condition is not met immediately.
Versions
cypress: 3.1.5
macOS 10.14.2
Chrome 72.0.3626.121
The text was updated successfully, but these errors were encountered: