-
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
fix: make clicks on type('{enter}') composed #26395
fix: make clicks on type('{enter}') composed #26395
Conversation
478da43
to
70af6f1
Compare
I noticed that the test file I updated (packages/driver/cypress/e2e/commands/actions/type_events_spec.js) doesn't have |
1 failed and 29 flaky tests on run #45243 ↗︎
Details:
cypress/e2e/e2e/origin/commands/waiting.cy.ts • 1 failed test • 5x-driver-electron
create-from-component.cy.ts • 1 flaky test • app-e2e
specs_list_latest_runs.cy.ts • 1 flaky test • app-e2e
cypress-in-cypress-component.cy.ts • 1 flaky test • app-e2e
cypress-origin-communicator.cy.ts • 1 flaky test • app-e2e
commands/net_stubbing.cy.ts • 1 flaky test • 5x-driver-firefox
The first 5 flaky specs are shown, see all 17 specs in Cypress Cloud. This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
@kgroat good eye! Please update the filename to include |
I don't understand what this error means in the Semantic Pull Request job:
I've tried modifying the title & description of the PR but nothing makes it go away. |
@kgroat sorry about that, we had merged a change in that had an incorrect changelog. I just merged a commit into develop to fix it and just synced the PR so we should be good on that |
It looks like renaming |
@kgroat it looks like those tests are failing on the Webkit browser. Adding this spec back might have uncovered an issue. In the interest of moving this forward, I'm going to try to exclude this specific spec from running on Webkit and make a follow up issue to fix that |
932b4e0
to
8c27f98
Compare
Co-authored-by: Mike Plummer <[email protected]>
8c27f98
to
a457704
Compare
I'm trying to figure out why component tests are failing on this branch. That's the only thing keeping this from merging |
The failures on |
* fix: make clicks on type('{enter}') composed Co-authored-by: Mike Plummer <[email protected]> * disable failing type_events driver tests from running in Webkit * make sure done is only called once * use test configuration to disable on webkit * fix changelog * Update cli/CHANGELOG.md Co-authored-by: Emily Rohrbough <[email protected]> --------- Co-authored-by: Adam Stone-Lord <[email protected]> Co-authored-by: Mike Plummer <[email protected]> Co-authored-by: Emily Rohrbough <[email protected]> Co-authored-by: Ben M <[email protected]>
* feat/protocol: (45 commits) chore: adding support for url:changed (#26519) chore: adding viewport:changed to protocol (#26508) chore: Reduce dependencies and binary size, add circle ci detector (#26522) chore: 12.10.0 release (#26517) test: fix flaky tests (#26505) chore: Check project dependencies for CT compatibility (#26497) chore: update vm2 to 3.9.16 (#26489) chore: enable builds on feat/protocol branch (#26506) chore: [skip ci] update to labels looked at by stalebot (#26496) chore: connecting to electron browser (#26471) chore: [skip ci] turning on stale bot (#26488) chore: fix issue with logs without wallClockUpdatedAt (#26473) Update triage_add_to_project.yml chore: Update Chrome (stable) to 112.0.5615.49 and Chrome (beta) to 113.0.5672.24 (#26434) feat: display framework definition errors (#26183) fix: correctly resolve dependencies for CT onboarding when using Yarn Plug n Play (#26452) fix: Subscribe to framework detection changes in wizard (#26437) fix: make clicks on type('{enter}') composed (#26395) chore: update add-to-project workflow (#26439) chore: Pass telemetry resources from the node process to the browser (#26468) ...
Additional details
When typing
{enter}
in a shadow root, theclick
event it generates doesn't propagate through shadow roots. This PR fixes that by settingcomposed: true
. See https://developer.mozilla.org/en-US/docs/Web/API/Event/composedSteps to test
Clone https://github.com/kgroat/cypress-enter-repro and run the tests.
How has the user experience changed?
The UX has remain unchanged, just that the
click
event propagates through shadow roots.PR Tasks
cypress-documentation
?type definitions
?