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 wanna wait until after my graphql queries complete to start running my tests. Right now it displays a loading indicator after the page load and before the query complete, which makes my tests fails if the query do not complete quick enough. Using cy.wait doesn't work.
Desired behavior:
I would like to use the wait feature on graphql query but it doesn't seems to work, cypress do not seems to pick graphql network requests.
How to reproduce:
Try to use cy.wait on a graphql query made with react-apollo
The text was updated successfully, but these errors were encountered:
I think I found the cause of this, react-apollo is using fetch and cypress do not seems to support it. Disabling fetch and using xhr instead using the polyfill seems to do the trick :)
Is this a Feature or Bug?
Not sure
Current behavior:
I wanna wait until after my graphql queries complete to start running my tests. Right now it displays a loading indicator after the page load and before the query complete, which makes my tests fails if the query do not complete quick enough. Using cy.wait doesn't work.
Desired behavior:
I would like to use the wait feature on graphql query but it doesn't seems to work, cypress do not seems to pick graphql network requests.
How to reproduce:
Try to use cy.wait on a graphql query made with react-apollo
The text was updated successfully, but these errors were encountered: