https://cypress.io logo
There's a test where I click an object on a page a...
# e2e-testing
s
There's a test where I click an object on a page and it loads some information by doing some javascript work in the frontend and a receiving the information via a XHR request. I want to make it click a specific button, but the page I'm testing does not allow that information to be seen in the frontend. I'm thinking of intercepting the XHR request and changing the properties of it, would that be a good way of handling things or is there a better way?