Skip to content

NumberField: userEvent.click on increment/decrement in storybook does not work anymoreΒ #9406

@vincent-capicotto-payfit

Description

Provide a general summary of the issue here

Since react-aria-components 1.14.0, my play functions in storybook does not work anymore.
If I click manually on increment/decrement buttons it works, but not with the userEvent.click function, the button are found but the value does not change

πŸ€” Expected Behavior?

As before, be able to test programmatically the number field increment and decrement using userEvent from storybook/test

😯 Current Behavior

The click on increment and decrement does nothing when userEvent.click is triggered

πŸ’ Possible Solution

No response

πŸ”¦ Context

No response

πŸ–₯️ Steps to Reproduce

N/A

Version

1.14.0

What browsers are you seeing the problem on?

Chrome

If other, please specify.

No response

What operating system are you using?

IOS / Ubuntu

🧒 Your Company/Team

No response

πŸ•· Tracking Issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions