Update dependency @testing-library/user-event to v14 #7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^13.5.0
->^14.0.0
Release Notes
testing-library/user-event (@testing-library/user-event)
v14.5.2
Compare Source
Bug Fixes
v14.5.1
Compare Source
Bug Fixes
v14.5.0
Compare Source
Bug Fixes
Features
v14.4.3
Compare Source
Bug Fixes
types
field inexports
(#1029) (5bed8c6)v14.4.2
Compare Source
Bug Fixes
exports
field (#1022) (7839e29)v14.4.1
Compare Source
Bug Fixes
v14.4.0
Compare Source
Features
auxclick
events (#1003) (2852509)Bug Fixes
Control
onAltGraph
(#1003) (2852509)contextmenu
events withdetail: 0
(#1003) (2852509)PointerEvent.isPrimary
(#1003) (2852509)button
property on pointer events separately from legacy mouse events (#1003) (2852509)mousedown
andmouseup
happen on different elements (#1003) (2852509)mouseover
,mouseenter
andmousemove
on disabled elements (#1003) (2852509)mouse*
events perpointerdown
event handler (#1003) (2852509)*out
and*over
events when moving into / out of nested elements (#1003) (2852509)*enter
and*leave
events on ancestors (#1003) (2852509)v14.3.0
Compare Source
Features
v14.2.6
Compare Source
Bug Fixes
pointer-events: none
on previous target (#991) (6e4058b)v14.2.5
Compare Source
Bug Fixes
value
onHTMLSelectElement
(#989) (77a7fa8)v14.2.4
Compare Source
Bug Fixes
window.FileList
instead of implicit global (c88865d)v14.2.3
Compare Source
Bug Fixes
v14.2.2
Compare Source
Bug Fixes
HTMLInputElement.setRangeText()
(#984) (73443ec)v14.2.1
Compare Source
Performance Improvements
v14.2.0
Compare Source
Features
pointerEventsCheck
(#950) (31b7091)Bug Fixes
asyncWrapper
(#952) (6f55fee)v14.1.1
Compare Source
14.1.1 (2022-04-17)
Bug Fixes
globalThis
instead ofglobal
(#928) (497c14d)v14.1.0
Compare Source
Features
advanceTimers
option (#907) (627a5cf)Bug Fixes
maxlength
(#909) (f5049c4)v14.0.4
Compare Source
14.0.4 (2022-04-01)
Bug Fixes
HTMLInputElement.select()
(#898) (6d36828)v14.0.3
Compare Source
14.0.3 (2022-03-31)
Bug Fixes
focus
(#895) (06f12a6)v14.0.2
Compare Source
14.0.2 (2022-03-31)
Bug Fixes
v14.0.1
Compare Source
14.0.1 (2022-03-31)
Bug Fixes
v14.0.0
Compare Source
⚠ BREAKING CHANGES
skipPointerEvents
has been removed.Use
pointerEventsCheck: PointerEventsCheckLevel.Never
instead.init
parameter has been removed fromuserEvent.upload
.applyAccept
defaults totrue
.userEvent.paste
API has new parameters.{ctrl}
,{del}
,{esc}
no longer describe a key. Use{Control}
,{Delete}
,{Escape}
instead.{alt}
,{ctrl}
,{meta}
,{shift}
no longer imply not releasing the key. Use{Alt>}
,{Control>}
,{Meta>}
,{Shift>}
instead.init
parameter has been removed from these APIs:userEvent.click
userEvent.dblClick
userEvent.tripleClick
userEvent.hover
userEvent.unhover
userEvent.selectOptions
userEvent.deselectOptions
userEvent.upload
no longer supportsclickInit
as part of its
init
parameter.{selectall}
has been removed.keyCode
property on keyboard events has been removed.userEvent.clear
on an element which is not editable.userEvent.clear
from focussing/selecting content.focusTrap
option has been removed fromuserEvent.tab()
.userEvent.type
does no longer move the cursorif used with
skipClick=false
and withoutinitialSelectionStart
.This might break tests relying on unintended side-effects of the previous implementation.
Features
beforeinput
(#851) (8890bd6)pointer
API (#750) (c12ee44)setup
API (#746) (719ba03)userEvent.copy
anduserEvent.cut
(#787) (8727a2d)userEvent.tripleClick
API (#773) (0badabd)[Tab]
support (#767) (87470ff){Control}+[KeyA]
(#774) (ea9b18a)pointerEventsCheck
option (#823) (e2a5f43)MouseEventInit
(#784) (56ebf7d)userEvent.paste
(#785) (f8fe217)userEvent.clear
API (#779) (1cda1b1)Bug Fixes
:disabled
(#872) (1a00fdf)copy
/cut
(#866) (5423094)paste
(#862) (d3d71ac)createEvent
(#781) (da5b5b7)KeyboardEvent.charCode
onkeypress
(#771) (55e194a)<button/>
on[Enter]
(#808) (eca157a)activeElement
on click outside of focusable (#834) (d64167c)<label/>
(#810) (2c5d9f1)contextmenu
onmousedown
(#811) (e1c4cad)tabIndex>0
beforetabIndex=0
(#809) (1bc5945)focusTrap
option (#772) (a0412c0)visibility:hidden
(#799) (a747b0a)Miscellaneous Chores
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.