You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you try to intercept an API-Request with the status code 999 it gives the following (funny) error message:
An invalid StaticResponse was supplied to cy.intercept(). statusCode must be a number between 100 and 999 (inclusive).
You passed: {
"statusCode": 999
}
100 works btw.
Desired behavior
999 is a possible status code to Intercept like the error message implies.
The text was updated successfully, but these errors were encountered:
nagash77
added
E2E
Issue related to end-to-end testing
Triaged
Issue has been routed to backlog. This is not a commitment to have it prioritized by the team.
labels
Aug 16, 2023
Current behavior
When you try to intercept an API-Request with the status code 999 it gives the following (funny) error message:

100 works btw.
Desired behavior
999 is a possible status code to Intercept like the error message implies.
Test code to reproduce
cy.intercept({method: "GET", url: URI_CLIENT_STATS}, {statusCode: 999})
Cypress Version
12.17.3
Node version
18.17.0
Operating System
windows 10
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: