hasAnyText should trim white space? #1419
Unanswered
simonihmig
asked this question in
Q&A
Replies: 1 comment 3 replies
-
hmm... I guess in that case the whitespace collapsing would collapse it down to a single whitespace, but the content would still be |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hasAnyText
returns true even iftextContent
contains only white space (spaces and/or line breaks). Is this expected?For something like this:
assert.dom('[data-test-message]').hasAnyText()
would always return true!Beta Was this translation helpful? Give feedback.
All reactions