[Bug]: userEvent.click()
not working as expected after upgrading Storybook to 8.x
#26888
Labels
userEvent.click()
not working as expected after upgrading Storybook to 8.x
#26888
Describe the bug
I have some components that use
<input type="checkbox" />
or<details>
+<summary>
tags.When using Storybook
7.x
, interactions tests that useduserEvent.click()
worked just fine, but after upgrading to8.x
the same stories without any changes in code just stopped working.To Reproduce
Create a component that uses a
<details>
+<summary>
tags and write an interaction test that click the summary to open<details>
or a component using<input type="checkbox">
and an interaction test clicking the input.In first case, the
open
attribute won't be triggered and in second casechecked
attribute won't be triggered.System
Additional context
Not working in Storybook
8.x
Reproduction code:
storybook-8x.mov
Working in Storybook
7.x
Reproduction code:
storybook-7x.mov
The text was updated successfully, but these errors were encountered: