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 executing tests on our application (angular project with >100k lines), it was stuck many times for 5 to 30 seconds.
A side-effect of this problem is that we have random issue when execution our tests (mainly cypress network intercept nor working).
Investigation done:
in run and open modes, remove all "assert" (cy.get, cy.should, cy.find ...). We have many asserts (>100).
=> execution time has a normal duration
in run mode, patch the cypress_runner.js as described in the stackoverflow comment above
=> execution time has a normal duration
execute a memory recording with chrome, the provided snapshot shows a task stuck during 20 second and 98% is relative to "layout" subtasks. Chrome warns that it is a "forced reflow"
Desired behavior
Execution time is almost the same when executing in open mode with unfolding the list of actions, or open mode without unfolding the list of action, or run mode.
Test code to reproduce
Not possible to provide our code source.
It could be due to the fact our application DOM is big.
Cypress Version
13.2.0 (also 12.6.0)
Node version
16.15.0
Operating System
windows 10
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered:
This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.
Current behavior
When executing tests on our application (angular project with >100k lines), it was stuck many times for 5 to 30 seconds.
A side-effect of this problem is that we have random issue when execution our tests (mainly cypress network intercept nor working).
Investigation done:
=> execution time has a normal duration
=> execution time has a normal duration
=> execution time has a normal duration
Desired behavior
Execution time is almost the same when executing in open mode with unfolding the list of actions, or open mode without unfolding the list of action, or run mode.
Test code to reproduce
Not possible to provide our code source.
It could be due to the fact our application DOM is big.
Cypress Version
13.2.0 (also 12.6.0)
Node version
16.15.0
Operating System
windows 10
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: