CypressError: Timed out retrying after 20000ms: cy.wait()
timed out waiting 20000ms
for the 1st request to the route
#30280
-
Hi everyone, I encounter a problem and any help much appreciated;
This is my form test file when I run my test locally it works but in my production I got this error
I even increased requestTimeout to 20000 but still got this error what might be the issue |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
When I inspect env variables, I realized I didn't push them in my productions settings, that's why post request was not able to return 200 status code. It would be more suitable to handle also error state as well while intercepting request |
Beta Was this translation helpful? Give feedback.
When I inspect env variables, I realized I didn't push them in my productions settings, that's why post request was not able to return 200 status code. It would be more suitable to handle also error state as well while intercepting request