Philipp Fritsche
Philipp Fritsche
@wojtekmaj @eps1lon This is an issue with the `setTimeout` call in `asyncWrapper` and is independent of `user-event`. It just happens to use it. When we use `setTimeout` in `user-event` we...
@Lokua Yes, the `setup` function should be called in the test, I fixed the code example above.
Since `v14.1` you can use the [`advanceTimers` option](https://testing-library.com/docs/user-event/options#advancetimers).
> Does `feat!` do anything for semantic-release? If you like to switch to conventional commit, it's the default config here: ```yaml - name: 🚀 Release uses: ph-fritsche/action-release@v2 env: GITHUB_TOKEN: ${{...
There is `{pointerId: 1, pointerType: 'mouse'}` for the mouse. This `pointerId` is reused and the pointer always exist and can have e.g. `pointermove` events – no matter if a button...
Could you post your lockfile? This might be another issue with the `@testing-library/dom` peer dependency. (Btw a Codesandbox template for userEvent+React is linked in the bug report template.)
> The resolved version of `testing-library/dom` that I have is `8.20.0` Could you check if there are multiple copies of `@testing-library/dom`? E.g. `node_modules/@testing-library/dom` and `node_modules/@testing-library/react/node_modules/@testing-library/dom`
As mentioned above deprecated and non-standard properties have been removed. The component should be updated to use `KeyboardEvent.code` or `KeyboardEvent.key`. If you cannot fix a third-party component which relies on...
Thanks for the report. I think number input is missing here: https://github.com/testing-library/user-event/blob/1aa2027e5ec445ab413808556efa7763b65053d3/src/event/behavior/keypress.ts#L59-L68
This library will [need changes prior to 2023-03-31](https://developers.googleblog.com/2022/03/gis-jsweb-authz-migration.html). The `gapi.load` and `gapi.client` will continue to work, but references to `gapi.auth2` need to be replaced. There is a [migration guide](https://developers.google.com/identity/oauth2/web/guides/migration-to-gis). This...