enter image description here The following error originated from your application code, not from Cypress.
Cannot read properties of null (reading 'length') When Cypress detects uncaught errors originating from your application it will automatically fail the current test. This behavior is configurable, and you can choose to turn this off by listening to the uncaught:exception event.L
In the Cypress test you can add a line at the top that stops this error (in the app) from failing the test.
Of course, you will want to be sure that the error is not related to what you are testing.
The code would be
The Cypress runner will still show the error in the log, but you can continue and test the page after login.
In this case, it looks like the error is caused by a missing element
#myPieChart.