Skip to content
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(deps): update dependency @testing-library/user-event to v14 #8157

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 2, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@testing-library/user-event ^13.5.0 -> ^14.5.2 age adoption passing confidence

Release Notes

testing-library/user-event (@​testing-library/user-event)

v14.5.2

Compare Source

Bug Fixes
  • remove interop and deep DTL imports (6a3c896)

v14.5.1

Compare Source

Bug Fixes

v14.5.0

Compare Source

Bug Fixes
Features
  • types: Add additional type exports for UserEvent & Options (#​1112) (da00e8d)

v14.4.3

Compare Source

Bug Fixes

v14.4.2

Compare Source

Bug Fixes

v14.4.1

Compare Source

Bug Fixes

v14.4.0

Compare Source

Features
Bug Fixes
  • event: be robust against incomplete event implementations (#​1009) (289828b)
  • upload: be robust against missing FileList implementation (#​1007) (a46b4d7)
  • keyboard: switch modifier state of lock keys on the correct event (#​1003) (2852509)
  • keyboard: remove platform-specific additional key events for Control on AltGraph (#​1003) (2852509)
  • pointer: dispatch contextmenu events with detail: 0 (#​1003) (2852509)
  • pointer: always set PointerEvent.isPrimary (#​1003) (2852509)
  • pointer: set button property on pointer events separately from legacy mouse events (#​1003) (2852509)
  • pointer: click closest common ancestor if mousedown and mouseup happen on different elements (#​1003) (2852509)
  • pointer: omit click event on release if another button is released first (#​1003) (2852509)
  • pointer: dispatch mouseover, mouseenter and mousemove on disabled elements (#​1003) (2852509)
  • pointer: prevent mouse* events per pointerdown event handler (#​1003) (2852509)
  • pointer: dispatch *out and *over events when moving into / out of nested elements (#​1003) (2852509)
  • pointer: dispatch *enter and *leave events on ancestors (#​1003) (2852509)

v14.3.0

Compare Source

Features

v14.2.6

Compare Source

Bug Fixes
  • document: reduce impact of React@17 workaround (#​992) (9816d38)
  • pointer: do not throw for pointer-events: none on previous target (#​991) (6e4058b)

v14.2.5

Compare Source

Bug Fixes
  • document: do not track value on HTMLSelectElement (#​989) (77a7fa8)

v14.2.4

Compare Source

Bug Fixes
  • use window.FileList instead of implicit global (c88865d)

v14.2.3

Compare Source

Bug Fixes
  • document: use setters/methods on element as default (#​987) (c40e614)

v14.2.2

Compare Source

Bug Fixes

v14.2.1

Compare Source

Performance Improvements
  • tab: avert visibility check on irrelevant elements (#​967) (d2d8a39)

v14.2.0

Compare Source

Features
  • report element with declaration in pointerEventsCheck (#​950) (31b7091)
Bug Fixes

v14.1.1

Compare Source

14.1.1 (2022-04-17)
Bug Fixes

v14.1.0

Compare Source

Features
Bug Fixes

v14.0.4

Compare Source

14.0.4 (2022-04-01)
Bug Fixes

v14.0.3

Compare Source

14.0.3 (2022-03-31)
Bug Fixes
  • pointer: change selection before dispatching 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
  • APIs always return a Promise.
  • pointer: skipPointerEvents has been removed.
    Use pointerEventsCheck: PointerEventsCheckLevel.Never instead.
  • upload: init parameter has been removed from userEvent.upload.
  • upload: applyAccept defaults to true.
  • The 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 supports clickInit
    as part of its init parameter.
  • Behavior for special key descriptor {selectall} has been removed.
  • Support for keyCode property on keyboard events has been removed.
  • An error is thrown when calling userEvent.clear on an element which is not editable.
  • An error is thrown when event handlers prevent userEvent.clear from focussing/selecting content.
  • tab: The focusTrap option has been removed from userEvent.tab().
  • type: userEvent.type does no longer move the cursor
    if used with skipClick=false and without initialSelectionStart.
  • The implementation of pointer related APIs was replaced.
    This might break tests relying on unintended side-effects of the previous implementation.
  • Support for node 10 was removed as it reached its end-of-life.
Features
Bug Fixes
Miscellaneous Chores

Configuration

📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate using a curated preset maintained by Sanity. View repository job log here

@renovate renovate bot requested a review from a team as a code owner January 2, 2025 13:37
@renovate renovate bot removed the request for review from a team January 2, 2025 13:37
@renovate renovate bot added the 🤖 bot label Jan 2, 2025
@renovate renovate bot requested a review from ricokahler January 2, 2025 13:37
Copy link

vercel bot commented Jan 2, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
page-building-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 2, 2025 2:45pm
performance-studio ✅ Ready (Inspect) Visit Preview Jan 2, 2025 2:45pm
test-next-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 2, 2025 2:45pm
test-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 2, 2025 2:45pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
studio-workshop ⬜️ Ignored (Inspect) Visit Preview Jan 2, 2025 2:45pm

Copy link

socket-security bot commented Jan 2, 2025

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@testing-library/[email protected] Transitive: environment, eval +11 3.9 MB testing-library-bot

🚮 Removed packages: npm/@testing-library/[email protected]

View full report↗︎

Copy link
Contributor

github-actions bot commented Jan 2, 2025

No changes to documentation

Copy link
Contributor

github-actions bot commented Jan 2, 2025

Component Testing Report Updated Jan 2, 2025 2:38 PM (UTC)

✅ All Tests Passed -- expand for details
File Status Duration Passed Skipped Failed
comments/CommentInput.spec.tsx ✅ Passed (Inspect) 1m 9s 15 0 0
formBuilder/ArrayInput.spec.tsx ✅ Passed (Inspect) 12s 3 0 0
formBuilder/inputs/PortableText/Annotations.spec.tsx ✅ Passed (Inspect) 39s 6 0 0
formBuilder/inputs/PortableText/copyPaste/CopyPaste.spec.tsx ✅ Passed (Inspect) 50s 11 7 0
formBuilder/inputs/PortableText/copyPaste/CopyPasteFields.spec.tsx ✅ Passed (Inspect) 0s 0 12 0
formBuilder/inputs/PortableText/Decorators.spec.tsx ✅ Passed (Inspect) 26s 6 0 0
formBuilder/inputs/PortableText/DisableFocusAndUnset.spec.tsx ✅ Passed (Inspect) 14s 3 0 0
formBuilder/inputs/PortableText/DragAndDrop.spec.tsx ✅ Passed (Inspect) 27s 6 0 0
formBuilder/inputs/PortableText/FocusTracking.spec.tsx ✅ Passed (Inspect) 1m 7s 15 0 0
formBuilder/inputs/PortableText/Input.spec.tsx ✅ Passed (Inspect) 1m 27s 21 0 0
formBuilder/inputs/PortableText/ObjectBlock.spec.tsx ✅ Passed (Inspect) 1m 39s 18 0 0
formBuilder/inputs/PortableText/PresenceCursors.spec.tsx ✅ Passed (Inspect) 13s 3 9 0
formBuilder/inputs/PortableText/Styles.spec.tsx ✅ Passed (Inspect) 26s 6 0 0
formBuilder/inputs/PortableText/Toolbar.spec.tsx ✅ Passed (Inspect) 1m 42s 21 0 0
formBuilder/tree-editing/TreeEditing.spec.tsx ✅ Passed (Inspect) 0s 0 3 0
formBuilder/tree-editing/TreeEditingNestedObjects.spec.tsx ✅ Passed (Inspect) 0s 0 3 0

Copy link
Contributor

github-actions bot commented Jan 2, 2025

⚡️ Editor Performance Report

Updated Thu, 02 Jan 2025 14:40:34 GMT

Benchmark reference
latency of sanity@latest
experiment
latency of this branch
Δ (%)
latency difference
article (title) 23.3 efps (43ms) 27.0 efps (37ms) -6ms (-14.0%)
article (body) 68.0 efps (15ms) 72.5 efps (14ms) -1ms (-/-%)
article (string inside object) 26.3 efps (38ms) 28.6 efps (35ms) -3ms (-7.9%)
article (string inside array) 24.4 efps (41ms) 25.6 efps (39ms) -2ms (-4.9%)
recipe (name) 55.6 efps (18ms) 60.6 efps (17ms) -2ms (-8.3%)
recipe (description) 58.8 efps (17ms) 66.7 efps (15ms) -2ms (-11.8%)
recipe (instructions) 99.9+ efps (5ms) 99.9+ efps (5ms) +0ms (-/-%)
synthetic (title) 20.2 efps (50ms) 20.6 efps (49ms) -1ms (-2.0%)
synthetic (string inside object) 19.4 efps (52ms) 21.3 efps (47ms) -5ms (-8.7%)

efps — editor "frames per second". The number of updates assumed to be possible within a second.

Derived from input latency. efps = 1000 / input_latency

Detailed information

🏠 Reference result

The performance result of sanity@latest

Benchmark latency p75 p90 p99 blocking time test duration
article (title) 43ms 58ms 79ms 555ms 875ms 11.4s
article (body) 15ms 16ms 19ms 61ms 207ms 5.1s
article (string inside object) 38ms 42ms 54ms 131ms 166ms 7.1s
article (string inside array) 41ms 44ms 47ms 71ms 137ms 6.8s
recipe (name) 18ms 18ms 21ms 36ms 0ms 7.0s
recipe (description) 17ms 18ms 20ms 30ms 0ms 4.4s
recipe (instructions) 5ms 7ms 7ms 19ms 0ms 3.1s
synthetic (title) 50ms 51ms 55ms 275ms 474ms 13.6s
synthetic (string inside object) 52ms 56ms 73ms 239ms 777ms 8.4s

🧪 Experiment result

The performance result of this branch

Benchmark latency p75 p90 p99 blocking time test duration
article (title) 37ms 40ms 52ms 351ms 162ms 10.2s
article (body) 14ms 17ms 19ms 83ms 250ms 5.5s
article (string inside object) 35ms 38ms 40ms 160ms 160ms 6.4s
article (string inside array) 39ms 42ms 54ms 92ms 138ms 6.7s
recipe (name) 17ms 18ms 22ms 36ms 0ms 6.2s
recipe (description) 15ms 16ms 17ms 28ms 0ms 4.2s
recipe (instructions) 5ms 7ms 8ms 16ms 0ms 3.0s
synthetic (title) 49ms 52ms 56ms 302ms 434ms 13.0s
synthetic (string inside object) 47ms 51ms 65ms 522ms 858ms 8.3s

📚 Glossary

column definitions

  • benchmark — the name of the test, e.g. "article", followed by the label of the field being measured, e.g. "(title)".
  • latency — the time between when a key was pressed and when it was rendered. derived from a set of samples. the median (p50) is shown to show the most common latency.
  • p75 — the 75th percentile of the input latency in the test run. 75% of the sampled inputs in this benchmark were processed faster than this value. this provides insight into the upper range of typical performance.
  • p90 — the 90th percentile of the input latency in the test run. 90% of the sampled inputs were faster than this. this metric helps identify slower interactions that occurred less frequently during the benchmark.
  • p99 — the 99th percentile of the input latency in the test run. only 1% of sampled inputs were slower than this. this represents the worst-case scenarios encountered during the benchmark, useful for identifying potential performance outliers.
  • blocking time — the total time during which the main thread was blocked, preventing user input and UI updates. this metric helps identify performance bottlenecks that may cause the interface to feel unresponsive.
  • test duration — how long the test run took to complete.

@stipsan
Copy link
Member

stipsan commented Jan 8, 2025

retry later

@stipsan stipsan closed this Jan 8, 2025
Copy link
Contributor Author

renovate bot commented Jan 8, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 14.x releases. But if you manually upgrade to 14.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/major-14-testing-library-monorepo branch January 8, 2025 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant