user-event icon indicating copy to clipboard operation
user-event copied to clipboard

`type` does not work with `contenteditable="plaintext-only"`

Open taozhou-glean opened this issue 11 months ago • 0 comments

Reproduction example

https://codesandbox.io/p/devbox/whmpk9

Prerequisites

just run the jest tests in above sandbox

Expected behavior

expect tests to pass

Actual behavior

test failed on plaintext-only post-edits

image

User-event version

^14.1.1

Environment

"@testing-library/dom": "8.12.0",
"@testing-library/jest-dom": "5.16.3",
"@testing-library/user-event": "^14.1.1"

Additional context

No response

taozhou-glean avatar Feb 26 '24 21:02 taozhou-glean