-
Notifications
You must be signed in to change notification settings - Fork 1
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
Update @testing-library/user-event 14.6.0 → 14.6.1 (patch) #341
Update @testing-library/user-event 14.6.0 → 14.6.1 (patch) #341
Conversation
The files' contents are under analysis for test generation. |
By default, I don't review pull requests opened by bots. If you would like me to review this pull request anyway, you can request a review via the |
Reviewer's Guide by SourceryThis pull request updates the @testing-library/user-event dependency from version 14.6.0 to 14.6.1. This is a patch update that includes several bug fixes related to keyboard, pointer, and upload events, as well as a fix for a click event loop on form-associated custom elements. Sequence diagram for updated pointer event behaviorsequenceDiagram
participant User
participant Component
participant PointerEvent
participant MouseEvent
Note over Component, PointerEvent: Changes in 14.6.1
User->>Component: pointerdown (prevented)
Component->>PointerEvent: dispatch pointerdown
Note right of PointerEvent: Now includes correct button/buttons properties
Note right of PointerEvent: Default width/height set to 1
PointerEvent->>MouseEvent: dispatch mousedown
Note right of MouseEvent: Now dispatches even when pointerdown prevented
State diagram for click event handling changesstateDiagram-v2
[*] --> ClickAttempt
ClickAttempt --> PreventClick: Non-focusable control
ClickAttempt --> ProcessClick: Focusable control
ProcessClick --> FormAssociated: Is form-associated
ProcessClick --> StandardClick: Standard element
FormAssociated --> PreventLoop: Prevent click event loop
StandardClick --> [*]
PreventLoop --> [*]
PreventClick --> [*]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
We have skipped reviewing this pull request. It seems to have been created by a bot (hey, depfu[bot]!). We assume it knows what it's doing!
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.
Automatically approved by gstraccini[bot]
@depfu merge |
Infisical secrets check: ✅ No secrets leaked! 💻 Scan logs7:41PM INF scanning for exposed secrets...
7:41PM INF 455 commits scanned.
7:41PM INF scan completed in 1.2s
7:41PM INF no leaks found
|
Quality Gate passedIssues Measures |
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ @testing-library/user-event (14.6.0 → 14.6.1) · Repo · Changelog
Release Notes
14.6.1
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 14 commits:
chore: fix typos (#1260)
fix: prevent `click` event loop on form-associated custom element (#1238)
test: update snapshots (#1261)
fix(keyboard): add brackets to `defaultKeyMap` (#1226)
fix(pointer): use `1` as default value for `PointerEvent.width` and `PointerEvent.height` (#1224)
fix(pointer): set `button` and `buttons` properties on `PointerEvent` (#1219)
fix: correct description for `delay` option (#1175)
fix: prevent `click` event on non-focusable control (#1130)
fix(pointer): dispatch mouse events if `pointerdown` is `defaultPrevented` (#1121)
fix(keyboard): add `ContextMenu` to `defaultKeyMap` (#1079)
fix(upload): apply `accept` filter more leniently (#1064)
fix(keyboard): walk through radio group per arrow keys (#1049)
chore: use headings in PULL_REQUEST_TEMPLATE (#1257)
docs: add contributors for `v14.6.0` (#1256)
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands
Summary by Sourcery
Bug Fixes:
Description by Korbit AI
What change is being made?
Update the
@testing-library/user-event
dependency version from 14.6.0 to 14.6.1 inpackage.json
.Why are these changes being made?
This patch update of
@testing-library/user-event
includes bug fixes and performance improvements which enhance the stability and efficiency of user event simulations in our testing suite. Keeping dependencies up-to-date ensures we have the latest advancements and security fixes.