You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's all sorts of difficulties testing when it's in inputStyle: "textarea" mode. It comes down to that there are two textareas - and the textarea that you can interact with won't always contain the full value of the text editor (eg. initial values), which can make for trouble when making assertions on content or form submissions.
Contenteditable is much more reliable - but this wont' work in JSDOM based testing solutions like React Testing Library.
I'm wanting to write some tests against our our customised version of this tool. I'm having trouble with both Testing Library and Cypress.
With testing library - I can do this:
But I can't test keyboard short cuts like:
With cypress I'm finding that I can enter text like:
Also:
Any other guides/best practises for testing?
The text was updated successfully, but these errors were encountered: