Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

[Request] Support user-event v14 #26

Closed
minop1205 opened this issue Sep 10, 2022 · 6 comments
Closed

[Request] Support user-event v14 #26

minop1205 opened this issue Sep 10, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@minop1205
Copy link

testing-library/user-event@13 is not maintained, are there any plans to update it to v14?

@minop1205 minop1205 added the bug Something isn't working label Sep 10, 2022
@ysulyma
Copy link

ysulyma commented Nov 7, 2022

I need this in order to select text in my interactions.

@Hideman85
Copy link

I also need this, using right now the 0.0.10 or beta that have it but when is the official support?

@pushred
Copy link

pushred commented Jan 18, 2023

There is an upstream blocker on this apparently, see: #19 (comment)

Would be good for @yannbf to provide more details about that blocker. Also perhaps separate releases per framework need to be made if this blocker will exist much longer? In my case I need both this and the fix in #23 that currently exists only in the next release. I suppose a fork is warranted but there is overhead going that route in my org. More context/timing would be helpful so I can weigh forking vs. workaround debt.

@loyaj
Copy link

loyaj commented May 6, 2023

I too have come across the need to use something introduced in user-event v14, specifically the Pointer API. Do we know if the upstream issue in user-event has been addressed? (A link to the blocking issue would be helpful as well)

@robcaldecott
Copy link

This v13 user-event dependency just caught me out: using helpers such as click and type has been generating act warnings with React 18, whereas v14 does not (perhaps under the hood v14 wraps everything in act for you.) But even though I had v14 as a dependency, the @storybook/testing-library dependency was clobbering it with the older release.

@yannbf
Copy link
Member

yannbf commented Jun 20, 2023

Hey everyone! Thanks a lot for your patience.
The prior issues have been addressed and @storybook/testing-library v0.2.0 has been released with upgraded versions of user-event and testing-library/dom. Please give it a try and let us know if you encounter any problems!

@yannbf yannbf closed this as completed Jun 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants