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
The tests should fail with all the attempts exhausted
Test code to reproduce
In the below code the getServiceConfigPageUrl() returns a proprietary url which has been redacted, the funny thing is that it reproduces for the proprietary url but not for other urls I have tried :(
Though I have been able to verify using headed browser that the url is approachable.
it("should allow user to save configuration with valid value",()=>{cy.intercept({method: "GET",url: "https://localhost:9888",//the path doesn't exist hence the below wait should fail}).as("serviceDetail");consturl=getServiceConfigPageUrl();cy.visit(url);//cy.get("body").should("contain", "Service Information");cy.wait(["@serviceDetail"]).then(()=>{servicePageSpecs(cy);});});
Cypress Version
13.15.0
Node version
v18.20.4
Operating System
macOS 14.7.1
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered:
This happens during cypress run visually it opens the said page and timesout on the waiting and then the browser just reopens and restarts the test rather than continuing in the same window with another attempt.
Current behavior
Cypress hangs on retry attempt
Desired behavior
The tests should fail with all the attempts exhausted
Test code to reproduce
In the below code the getServiceConfigPageUrl() returns a proprietary url which has been redacted, the funny thing is that it reproduces for the proprietary url but not for other urls I have tried :(
Though I have been able to verify using headed browser that the url is approachable.
Cypress Version
13.15.0
Node version
v18.20.4
Operating System
macOS 14.7.1
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: