Skip to content

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

@vgrigoruk

Description

@vgrigoruk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions