-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support contenteditable divs with userEvent.paste #699
Labels
enhancement
New feature or request
Milestone
Comments
This would be fantastic. We have some custom paste behaviors that cannot be tested in Jest currently. There is a sanity check here: Lines 36 to 41 in a31ecc9
and here: Lines 17 to 27 in a31ecc9
which should also check for contenteditable attr on just about any element.
|
Please have a look at #782 . |
3 tasks
Resolved in #785 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@testing-library/user-event
version: 13.1.9Relevant code or config
What you did:
As above, tried pasting into a div with contenteditable="true"
What happened:
Test fails with the following error message:
Reproduction repository: N/A
Problem description: N/A
Suggested solution: Not too sure what the implementation would look like, but couldn't find a feature request covering this so thought I'd add an issue if that's alright!
The text was updated successfully, but these errors were encountered: