FROM CACHE - en_header

Invoking authenticatedFetch in cypress

New Member
1 0 1

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?

Reply 1 (1)
New Member
1 0 0

is there a good way to solve it?