-
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
cy.wait on an array return TypeError Cannot read property 'split' of undefined line 136007:55 #28233
Comments
@mykodimy Could you provide an example we can run? There's likely something specific about your code or app that is necessary to see this error, since we have tests around waiting for standard requests in an array. |
I am also running into the same issue tried with 13.5.0 this morning and same errors 😢 https://cloud.cypress.io/projects/oy3esu/runs/8864/overview?roarHideRunsWithDiffGroupsAndTags=1 |
After upgrading from 13.2.0 to 13.6.2, we see the same issue:
Hope you guys can identify the source of the bug since this prevents us from upgrading to the current version. Let me know in case I can be of assistance. |
I would suspect that this issue was added with #27806 as part of 13.1.1. Specifically this: // sort responses based on browser request ID
const requestIdSuffixA = a.browserRequestId.split('.').length > 1 ? a.browserRequestId.split('.')[1] : a.browserRequestId
const requestIdSuffixB = b.browserRequestId.split('.').length > 1 ? b.browserRequestId.split('.')[1] : b.browserRequestId We are running into similar issues when we updated from 12.12.0 to 13.6.0. Can you give an update on a fix for this issue @jennifer-shehane @chrisbreiding @astone123? If a fix is imminent we will wait, otherwise we'll have to downgrade to 13.3.0. |
I wasn't actually able to reproduce this locally, but I added a null check that should fix this issue in #28713 |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior
Cypress version 13.4.0
cy.wait on an array return "TypeError: Cannot read property 'split' of undefined"
/__cypress/runner/cypress_runner.js:136007:55
Here is the example code:
The text was updated successfully, but these errors were encountered: