Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
webdriverio: extend wait command prefixes (#3548)
## Proposed changes Avoid waiting for element in commands with prefixes: waitUntil, waitFor, waitToBe, isExisting, isDisplayed. Useful to use with different assertion libraries like: `assert.strictEqual($('foo').toBeDisplayed(), true)` or `assert.strictEqual($('foo').isExistingWithin(5000), true)`, etc ## Types of changes - [ ] Bugfix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) ## Checklist - [x] I have read the [CONTRIBUTING](https://github.com/webdriverio/webdriverio/blob/master/CONTRIBUTING.md) doc - [x] I have added tests that prove my fix is effective or that my feature works - [x] I have added necessary documentation (if appropriate) ## Further comments implements #3545 ### Reviewers: @webdriverio/technical-committee
- Loading branch information
1 parent
422387e
commit 9e03559
Showing
3 changed files
with
80 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters