-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to intercept Graphql request? #110
Comments
Hey @ThiagoMFerreira, did you had any progress with this kind of tests? It doesn't catch graphql requests, although they're shown in the network tab. |
Hi @ruancarvalho any progress yet 😔 |
GraphQL requests are not particularly special. This plugin has been supporting
|
Hey @chmanie Even though my requests happens inside my test, it does not capture the Grapqh requests. Do you have any thoughts about it? |
@andreluisce are the requests issued from an iframe? |
I had same problem when trying intercepting graphql request which it would return JSON data. it seems interceptor didnt recognised the requests as ajax calls at all |
@trietnguyen267 I had the same problem. You are able to mock the
|
Hello,
I need to intercept Grahpql requests to my tests, but this is fetch type, so the Intercept service isn't getting the request, is there any way to intercept this request?
the request is returning the result of this way
data: {values: {totalPages: 10,…}},…} data: {values: {totalPages: 10,…}} values: {totalPages: 10,…}
Thank You.
The text was updated successfully, but these errors were encountered: