-
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
feat: swap websocket transport with cdp add binding/evaluate #27592
feat: swap websocket transport with cdp add binding/evaluate #27592
Conversation
4 flaky tests on run #50510 ↗︎
Details:
commands/querying/querying.cy.js • 1 flaky test • 5x-driver-electron
cypress/cypress.cy.js • 3 flaky tests • 5x-driver-electron
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
// @ts-ignore | ||
import * as engineParser from 'engine.io-parser' | ||
|
||
export const encode = (data: any, namespace: string): Promise<string> => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add some error handling
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you planning to add error handling each of the places that encode
and decode
are used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I was trying to think through that. I'm not sure what else we can do other than log. I'll push that for now, but I may chat with @brian-mann to see if he has additional thoughts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spoke with @brian-mann offline. We're going to let these bubble as they would be errors that are unrecoverable.
…com/cypress-io/cypress into ryanm/feat/swap-websockets-with-cdp
…com/cypress-io/cypress into ryanm/feat/swap-websockets-with-cdp
…e crashed, indicate we're continuing running the next spec
this was preventing crashed tabs from being closed when moving to the next spec
…com/cypress-io/cypress into ryanm/feat/swap-websockets-with-cdp
…ess and appears to be invalid
…com/cypress-io/cypress into ryanm/feat/swap-websockets-with-cdp
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Additional details
This PR:
Steps to test
This can be tested by just running Cypress to ensure that things worked as previously
How has the user experience changed?
n/a
PR Tasks
cypress-documentation
?type definitions
?