E2E testing with playwright #5227
Unanswered
martinplavek
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Slate community,
we are facing this weird issue while trying to test our RichText editor implemented with SlateJS library.
I am able to locate the editor's content, but it's returning the inserted content with some lines which were not inserted nor typed into the text area.
If you are familiar with playwright, this code snippet might be helpful to understand the issue at hands:
You can see the result on the image below
I can see the issue in the behaviour of the Slate editor, which differs of the textArea element (has another HTML elements inside). Is there any known way how to proceed with automated testing on the Slate editor? Any help is welcome and appreciated.
Beta Was this translation helpful? Give feedback.
All reactions