Invoking authenticatedFetch in cypress

Highlighted
New Member
1 0 0

I have replaced all instances of fetch in my app with authenticatedFetch as per the instructions. It works well in the app itself, but when running E2E Cypress tests, the authenticatedFetch never gets invoked, which I assume is because the app is not embedded in Shopify Admin during the tests. Is there a way to fix this issue, so that the tests can run as normal?

0 Likes