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 am using I.mockRequest with puppeteer.
Post authenticating the user, Application requests some data from the backend by requesting HTTPS GET request to this endpoint: /api/v1/b2c/zones?limit=9007199254740991.
After start mocking, this API request should be intercepted and custom response should be returned according to my settings:
I always get response from the server and my custom response is never gets dispatched .
I have tried putting before and after I.click('Log In'); statement but no change in behaviour.
What are you trying to achieve?
I am using I.mockRequest with puppeteer.
Post authenticating the user, Application requests some data from the backend by requesting HTTPS GET request to this endpoint:
/api/v1/b2c/zones?limit=9007199254740991
.After start mocking, this API request should be intercepted and custom response should be returned according to my settings:
What do you get instead?
I always get response from the server and my custom response is never gets dispatched .
I have tried putting before and after
I.click('Log In');
statement but no change in behaviour.Details
package.json
The text was updated successfully, but these errors were encountered: