Open heathkit opened 7 years ago
@heathkit @vikerman
Shall I pick this up? And what should be the approach?
Please trim the whitespace before returning the string from getText() as documented in https://www.protractortest.org/#/api?view=webdriver.WebElement.prototype.getText.
Citation.
Get the visible innerText of this element, including sub-elements, without any leading or trailing whitespace. Visible elements are not hidden by CSS.
I have the same problem with safari 12 and safari 13.
Our Travis smoke tests are almost passing! Unfortunately, there's an annoying issue with Edge 14 where getText() is returning extra whitespace.
We should either special-case the tests to trim whitespace for edge, or something. There's already a bug tracking this on issues.microsoftedge.com