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 clicking on a button of a payment form in headed mode the command logs disappear and shows “Your tests are loading...” and then exits from test execution environment regardless of the instructions that come after clicking the button, as it never executes them.
When running the same test in headless mode it hangs forever and never finishes.
I don't know if it has something to do with it but in the document request which Cypress has to reach after clicking the button (the final URL) it shows a status code 302, while manually it shows 200.
Desired behavior
Obviously, Cypress should continue without exiting the execution environment and should also terminate the test.
Test code to reproduce
I cannot provide the code
Cypress Version
13.11.0
Node version
20.13.1
Operating System
Windows 10
Debug Logs
In debug mode I've seen things like: cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 60444 } +174ms cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 60442 } +47ms cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 60443 } +24ms cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 60363 } +221ms cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 60394 } +176ms cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 60407 } +261msI don't know if this logs are related to the problem.
Other
No response
The text was updated successfully, but these errors were encountered:
Just FYI I saw that I had a command failing on my before hook and the failure was not being showed into the cypress logs neither into dashboard, it just stops executing and didn't say anything on the logs.
I could debug and see the error in my code running npx cypress run --browser=chrome --headed locally, when running it, I saw the error message on chrome, but Cypress didn't stopped running on shell and didn't presented any error there, I could only reproduce it with my work env (that I can't share).
I hope this comment can help someone with same issue.
I'm using normally Chrome v126, but the issue appears no matter what browser is in use. And there are not any logs that cypress displays on the command logs, it just exits from test execution in headed mode.
I think the only way to find this out is to provide the code that is causing the issue. I can send the code to your email if you don't mind. I don't want my code to be public.
Current behavior
When clicking on a button of a payment form in headed mode the command logs disappear and shows “Your tests are loading...” and then exits from test execution environment regardless of the instructions that come after clicking the button, as it never executes them.
When running the same test in headless mode it hangs forever and never finishes.
I don't know if it has something to do with it but in the document request which Cypress has to reach after clicking the button (the final URL) it shows a status code 302, while manually it shows 200.
Desired behavior
Obviously, Cypress should continue without exiting the execution environment and should also terminate the test.
Test code to reproduce
I cannot provide the code
Cypress Version
13.11.0
Node version
20.13.1
Operating System
Windows 10
Debug Logs
Other
No response
The text was updated successfully, but these errors were encountered: