How to (can i?) load Cypress fixture inside intercept based on request data? #15578
Unanswered
mateNemeth
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a bunch of fixtures generated by the backend, and named based on the hash of the request body. I am trying to find a way to load fixtures dynamically based on the sent request, something like this:
But every time I try to load a fixture inside an intercept, I get the following error:
Is there any way, I could load fixtures dynamically based on something inside the request?
Beta Was this translation helpful? Give feedback.
All reactions