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
I started using this plugin in my tests. But, seems like the plugin is interfering with tests where I am using cy.request.
I have a very simple test, where it makes cy.request and inside then block it verifies whether response header has specific content-type.
However, when I have this plugin enabled, I get following error in the test
CypressError: Cypress detected that you returned a promise from a command while also invoking one or more cy commands in that promise.
The command that returned the promise was:
> `cy.request()`
The cy command you invoked inside the promise was:
> `cy.wait()`
Any pointers why this could be happening?
Thanks!
The text was updated successfully, but these errors were encountered:
@nishant-shah-social There are automated tests for this so I expect simple case to work. You might have some particular case. Could you provide a reproducible example?
I started using this plugin in my tests. But, seems like the plugin is interfering with tests where I am using cy.request.
I have a very simple test, where it makes cy.request and inside then block it verifies whether response header has specific content-type.
However, when I have this plugin enabled, I get following error in the test
Any pointers why this could be happening?
Thanks!
The text was updated successfully, but these errors were encountered: