chai-webdriverio icon indicating copy to clipboard operation
chai-webdriverio copied to clipboard

Negated "text" and "value" assertions are always wating for defaultWaitTime

Open vgrigoruk opened this issue 5 years ago • 0 comments

These lines are always executed for defaultWaitTime

expect('#foo').to.not.have.text('bar')
expect('#foo').to.not.have.value('bar')

Because of these lines: https://github.com/marcodejongh/chai-webdriverio/blob/master/src/assertions/value.js#L29 https://github.com/marcodejongh/chai-webdriverio/blob/master/src/assertions/text.js#L30

vgrigoruk avatar Nov 14 '19 12:11 vgrigoruk