-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cypress randomly crashes in chrome when using Cypress Open with 'Aw, Snap!' #29895
Comments
You should probably update your Node.js version before continuing with your troubleshooting, since Node.js |
I updated node to a new version and it seems to still be an issue intermittently. One thing that I am doing is I am trying to type into an input field by skipping the delay and it seems its when it types into the input field that it crashes. const jwt = "ZXlKMGVYQWlPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LmV5SnBjM01pT2lKUGJteHBibVVnU2xkVUlFSjFhV3hrWlhJaUxDSnBZWFFpT2pFM01qSTJNRFl3T1Rrc0ltVjRjQ0k2TVRjMU5ERTBNakE1T1N3aVlYVmtJam9pZDNkM0xtVjRZVzF3YkdVdVkyOXRJaXdpYzNWaUlqb2lhbkp2WTJ0bGRFQmxlR0Z0Y0d4bExtTnZiU0lzSWtkcGRtVnVUbUZ0WlNJNklrcHZhRzV1ZVNJc0lsTjFjbTVoYldVaU9pSlNiMk5yWlhRaUxDSkZiV0ZwYkNJNld5SnFjbTlqYTJWMFFHVjRZVzF3YkdVdVkyOXRJaXdpWW1WbFFHVjRZVzF3YkdVdVkyOXRJaXdpWW1WbFFHVjRZVzF3YkdVdVkyOXRJaXdpWW1WbFFHVjRZVzF3YkdVdVkyOXRJaXdpWW1WbFFHVjRZVzF3YkdVdVkyOXRJaXdpWW1WbFFHVjRZVzF3YkdVdVkyOXRJaXdpWW1WbFFHVjRZVzF3YkdVdVkyOXRJaXdpWW1WbFFHVjRZVzF3YkdVdVkyOXRJaXdpWW1WbFFHVjRZVzF3YkdVdVkyOXRJaXdpWW1WbFFHVjRZVzF3YkdVdVkyOXRJaXdpWW1WbFFHVjRZVzF3YkdVdVkyOXRJaXdpWW1WbFFHVjRZVzF3YkdVdVkyOXRJaXdpWW1WbFFHVjRZV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0pVWlhOMElqb2lWR1Z6ZERFaUxDSm9kSFJ3T2k4dmMyTm9aVzFoY3k1NGJXeHpiMkZ3TG05eVp5OTNjeTh5TURBMUx6QTFMMmxrWlc1MGFYUjVMMk5zWVdsdGN5OXVZVzFsSWpwYkltcHliMk5yWlhRaUxDSnFjbTlqYTJWMElpd2lhbkp2WTJ0bGRDSXNJbXB5YjJOclpYUWlMQ0pxY205amEyVjBJaXdpYW5KdlkydGxkQ0lzSW1weWIyTnJaWFFpWFN3aWFIUjBjRG92TDNOamFHVnRZWE11YldsamNtOXpiMlowTG1OdmJTOTNjeTh5TURBNEx6QTJMMmxrWlc1MGFYUjVMMk5zWVdsdGN5OXliMnhsSWpwYklrMWhibUZuWlhJaUxDSk5ZVzVoWjJWeUlpd2lUV0Z1WVdkbGNpSXNJazFoYm1GblpYSWlMQ0pOWVc1aFoyVnlJaXdpVFdGdVlXZGxjaUlzSWsxaGJtRm5aWElpTENKTllXNWhaMlZ5SWl3aVRXRnVZV2RsY2lJc0lrMWhibUZuWlhJaUxDSk5ZVzVoWjJWeUlpd2lUV0Z1WVdkbGNpSXNJazFoYm1GblpYSWlYU3dpYUhSMGNEb3ZMM05qYUdWdFlYTXVlRzFzYzI5aGNDNXZjbWN2ZDNNdk1qQXdOUzh3TlM5cFpHVnVkR2wwZVM5amJHRnBiWE12WlcxaGFXd2lPbHNpWW1WbFFHVjRZVzF3YkdVdVkyOXRJaXdpWW1WbFFHVjRZVzF3YkdVdVkyOXRJaXdpWW1WbFFHVjRZVzF3YkdVdVkyOXRJaXdpWW1WbFFHVjRZVzF3YkdVdVkyOXRJaXdpWW1WbFFHVjRZVzF3YkdVdVkyOXRJaXdpWW1WbFFHVjRZVzF3YkdVdVkyOXRJbDE5LnAyV29xNVNDSFdpbE8wdjdXVlowdkt0TWVJQjhTX09RYzFmOFloMDFraW8=";
cy.visit("https://test.com");
cy.get('[class*="searchBox"] button').click();
cy.get('[id="docsearch-input"]').clear();
cy.get('[id="docsearch-input"]').invoke("val", jwt).trigger("change");
cy.get('[id="docsearch-input"]').type(" {backspace}"); |
@dqiubread I'm able to run a sample of this test on a simple HTML page with an Does your App function fine when you manually perform these actions outside of Cypress? Invoking the val? Just want to isolate a memory leak from your actual application code. |
Ya it works fine when im manually doing it on our webpage. It only seems to happen when we run the test with the open command and works fine when we run on our CI/CD instance. |
here is one of the latest run logs that crashed.
|
@jennifer-shehane is there a different command that i can run that would be able to help get to the root of this performance issue? |
@dqiubread Providing a reproduction that we can run - and track down the issue would be ideal. The logs would just show that there is a perf issue, which we believe, but it won't give us much information about why without recreating it ourselves and running through our code paths. |
We figured out the issue was with the UI. When we do the invoke to set the text we dont need to do the trigger command. It seems for some reason the trigger was breaking the UI for our case. Removing it fixed out issue
|
Test code to reproduce
Unfortunately i dont have a way to create a failing test. I do have the failure logs though. We are using experimentalMemoryManagement and numTestsKeptInMemory when using cypress open but its not working.
Cypress Mode
cypress open
Cypress Version
13.13.1
Browser Version
126
Node version
v19.1.0
Operating System
macos ventures 13.6.4
Memory Debug Logs
Other
No response
The text was updated successfully, but these errors were encountered: