CypressError: Cypress test was stopped while running this command #24391
Replies: 7 comments 2 replies
-
I am facing the same problem. This is very important to resolve. I would like to say thank you for any help! |
Beta Was this translation helpful? Give feedback.
-
Resolved using https://docs.cypress.io/api/cypress-api/custom-commands. Please, can you close the issue. Thank you. |
Beta Was this translation helpful? Give feedback.
-
I am facing an issue where headless mode fails with the ambiguous error above, Cypress DEBUG shows no issues. Cypress simply stops running. |
Beta Was this translation helpful? Give feedback.
-
facing the same error, after migrating form cypress 10.2 to 13.2 |
Beta Was this translation helpful? Give feedback.
-
same error here, is there anyone have a solution for this? cypress version: 12.17.1 |
Beta Was this translation helpful? Give feedback.
-
I am also facing the same issue. |
Beta Was this translation helpful? Give feedback.
-
I stumbled upon this issue after hitting the same error and in my case it was a problem where my application was making a request that hung. I think it might be a timeout? Or an issue where cypress forcibly stops commands that return promises that won't resolve? |
Beta Was this translation helpful? Give feedback.
-
Hi. Please, considering the following example code:
Executing by the command "npx cypress open", it runs successfully. But, executing by the command "npx cypress run" (CI), returns "CypressError: Cypress test was stopped while running this command.". Why can't we have call repurpose with Cypress? Why can't we have code reuse in this case? Please, how can we have synchronous execution in this case?
Beta Was this translation helpful? Give feedback.
All reactions