-
Beta Was this translation helpful? Give feedback.
Answered by
andreighh
Jan 6, 2023
Replies: 1 comment
-
I solved this, I switched to using What I believe was happening is that Also, |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
andreighh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I solved this, I switched to using
swr
and it error-ed out instead of loading permanently. That lead me to see that it is aCORS
issue in the testing environment.What I believe was happening is that
react-query
retried the query faster than thecypress
timeout, but it doesn't make sense why there were so many retries and why the select was in a permanent loading state.Also,
cypress
can somehow access the body of the request with wrongCORS
, otherwise I don't understand how the checks passed.