-
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
chore: initial protocol api work #26080
chore: initial protocol api work #26080
Conversation
packages/server/lib/cloud/api.ts
Outdated
@@ -330,6 +331,12 @@ module.exports = { | |||
}) | |||
}) | |||
}) | |||
.then(async (result) => { | |||
// TODO: Get url for the protocol code and pass it down to download |
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.
Suggest namespacing all the TODOs so we can easily verify that all the TODOs have been completed.
// TODO: Get url for the protocol code and pass it down to download | |
// TODO(protocol): Get url for the protocol code and pass it down to download |
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.
good call.
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.
I left a few additional comments but otherwise it looks good!
Co-authored-by: Matt Schile <[email protected]>
27 flaky tests on run #44711 ↗︎
Details:
cypress/cypress.cy.js • 3 flaky tests • 5x-driver-electron
commands/net_stubbing.cy.ts • 1 flaky test • 5x-driver-firefox
e2e/origin/commands/assertions.cy.ts • 1 flaky test • 5x-driver-firefox
cypress/cypress.cy.js • 3 flaky tests • 5x-driver-firefox
create-from-component.cy.ts • 2 flaky tests • app-e2e
The first 5 flaky specs are shown, see all 14 specs in Cypress Cloud. This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Additional details
This is an initial base implementation of hooking into the protocol API that will be delivered from the cloud. It hooks into the lifecycle of specs, tests, and browser connections.
Steps to test
cypress-services
repoyarn
yarn watch
inpackages/app-capture-protocol
CYPRESS_LOCAL_PROTOCOL_PATH
to the path tocypress-services/packages/app-capture-protocol/dist/index.js
cypress
repoyarn
cypress run
on a project in record mode withDEBUG
set tocypress:*protocol*
and ensure you can see the lifecycle eventsHow has the user experience changed?
n/a
PR Tasks
cypress-documentation
?type definitions
?