react-select-event icon indicating copy to clipboard operation
react-select-event copied to clipboard

🦗 Simulate react-select events for react-testing-library

Results 24 react-select-event issues
Sort by recently updated
recently updated
newest added

Hi. First of all, thanks for this library, it works great for testing with `react-select`, which help us avoiding those ugly `querySelector` calls 😅 I'm using `@testing-library/react` which ships with...

Hello guys, it would be nice to have an option that removes only one selected option, when my selector has multiple options selected, so this is my proposal. It is...

Cannot properly test when using react-select custom components. The sandbox below shoes an error message: ` Unable to find an element with the text: Strawberry. This could be because the...

`clear*` methods assume the clearing icon is an svg. That's not always the case with customized react-select components. Could we improve the API of `clear*` methods so that such custom...

I'm using a`isMulti=true` `Creatable` amd writing tests for it. In my tests I have the following expects: ```js expect(value).toEqual([emails[0]]); // Passes await selectEvent.select(getByLabelText("To:"), emails[1].label); expect(value).toEqual([emails[0], emails[1]]); // Passes await selectEvent.clearFirst(getByLabelText("To:"));...

Would there be any issue with only leveraging the `findBy*` and `findAllBy*` queries from this library?

The userEvent better represents actions taken by user/browser and actually allows us to get rid of some hacks. Also, testing now with React v18. And removed redundant act calls as...

its not working if the react-select is stand alone component

Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.57 to 18.0.34. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/react&package-manager=npm_and_yarn&previous-version=17.0.57&new-version=18.0.34)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

Bumps [rimraf](https://github.com/isaacs/rimraf) from 3.0.2 to 5.0.0. Changelog Sourced from rimraf's changelog. 5.0 No default export, only named exports 4.4 Provide Dirent or Stats object as second argument to filter 4.3...

dependencies