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

Uh oh!
There was an error while loading. Please reload this page.
-
hasAnyTextreturns true even iftextContentcontains 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