Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed Oct 20, 2021
1 parent 4dc90d4 commit 6c909ca
Show file tree
Hide file tree
Showing 27 changed files with 1,817 additions and 3,093 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16.11.1
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# WDIO-WAIT-FOR [![Test](https://github.com/elaichenkov/wdio-wait-for/actions/workflows/main.yml/badge.svg)](https://github.com/elaichenkov/wdio-wait-for/actions/workflows/main.yml) [![Total npm downloads](https://img.shields.io/npm/dt/wdio-wait-for.svg)](https://www.npmjs.com/package/wdio-wait-for)
# WDIO Wait For [![Test](https://github.com/webdriverio/wdio-wait-for/actions/workflows/main.yml/badge.svg)](https://github.com/webdriverio/wdio-wait-for/actions/workflows/main.yml) [![Total npm downloads](https://img.shields.io/npm/dt/wdio-wait-for.svg)](https://www.npmjs.com/package/wdio-wait-for)

> wdio-wait-for is a Node.js library for [WebdriverIO](http://webdriver.io/) that supplies a set of common conditions that provides functionalities to wait for certain conditions till a defined task is complete.
Expand All @@ -8,6 +8,9 @@ To use wdio-wait-for in your project, run:
```shell
npm i -D wdio-wait-for
```

__Note:__ if you use the WDIO Testrunner this package will be already included.

## [API](./docs/modules.md)

- [alertIsPresent](docs/modules/browser_alertispresent.md)
Expand Down Expand Up @@ -84,6 +87,5 @@ browser.waitUntil(numberOfElementsToBe('.links', 2), { timeout: 5000, timeoutMsg

wdio-wait-for is [MIT licensed](./LICENSE).


## Author
Yevhen Laichenkov <elaichenkov@gmail.com>
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
wdio-wait-for / [Modules](modules.md)

# WDIO-WAIT-FOR [![Test](https://github.com/elaichenkov/wdio-wait-for/actions/workflows/main.yml/badge.svg)](https://github.com/elaichenkov/wdio-wait-for/actions/workflows/main.yml)
# WDIO-WAIT-FOR [![Test](https://github.com/webdriverio/wdio-wait-for/actions/workflows/main.yml/badge.svg)](https://github.com/webdriverio/wdio-wait-for/actions/workflows/main.yml)

> wdio-wait-for is a Node.js library for [WebdriverIO](http://webdriver.io/) that supplies a set of common conditions that provides functionalities to wait for certain conditions till a defined task is complete.
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/browser_alertispresent.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ browser.waitUntil(alertIsPresent());
A condition that returns a promise
representing whether an alert is present.

Defined in: [browser/alertIsPresent.ts:11](https://github.com/elaichenkov/wdio-wait-for/blob/074de0f/src/browser/alertIsPresent.ts#L11)
Defined in: [browser/alertIsPresent.ts:11](https://github.com/webdriverio/wdio-wait-for/blob/074de0f/src/browser/alertIsPresent.ts#L11)
2 changes: 1 addition & 1 deletion docs/modules/browser_titlecontains.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ browser.waitUntil(titleContains('Dashboard'));
A condition that returns a promise
representing whether browser's title contains.

Defined in: [browser/titleContains.ts:12](https://github.com/elaichenkov/wdio-wait-for/blob/074de0f/src/browser/titleContains.ts#L12)
Defined in: [browser/titleContains.ts:12](https://github.com/webdriverio/wdio-wait-for/blob/074de0f/src/browser/titleContains.ts#L12)
2 changes: 1 addition & 1 deletion docs/modules/browser_titleis.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ browser.waitUntil(titleIs('Dashboard - Main page'));
A condition that returns a promise
representing whether browser's title is.

Defined in: [browser/titleIs.ts:12](https://github.com/elaichenkov/wdio-wait-for/blob/074de0f/src/browser/titleIs.ts#L12)
Defined in: [browser/titleIs.ts:12](https://github.com/webdriverio/wdio-wait-for/blob/074de0f/src/browser/titleIs.ts#L12)
2 changes: 1 addition & 1 deletion docs/modules/browser_urlcontains.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ browser.waitUntil(urlContains('/v1'));
A condition that returns a promise
representing whether browser's url contains.

Defined in: [browser/urlContains.ts:12](https://github.com/elaichenkov/wdio-wait-for/blob/074de0f/src/browser/urlContains.ts#L12)
Defined in: [browser/urlContains.ts:12](https://github.com/webdriverio/wdio-wait-for/blob/074de0f/src/browser/urlContains.ts#L12)
2 changes: 1 addition & 1 deletion docs/modules/browser_urlis.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ browser.waitUntil(urlIs('https://the-internet.herokuapp.com/'));
A condition that returns a promise
representing whether browser's url is.

Defined in: [browser/urlIs.ts:12](https://github.com/elaichenkov/wdio-wait-for/blob/074de0f/src/browser/urlIs.ts#L12)
Defined in: [browser/urlIs.ts:12](https://github.com/webdriverio/wdio-wait-for/blob/074de0f/src/browser/urlIs.ts#L12)
2 changes: 1 addition & 1 deletion docs/modules/element_elementtobeclickable.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ browser.waitUntil(elementToBeClickable('.links'));
An expected condition that returns a promise
representing whether the element is clickable.

Defined in: [element/elementToBeClickable.ts:13](https://github.com/elaichenkov/wdio-wait-for/blob/074de0f/src/element/elementToBeClickable.ts#L13)
Defined in: [element/elementToBeClickable.ts:13](https://github.com/webdriverio/wdio-wait-for/blob/074de0f/src/element/elementToBeClickable.ts#L13)
2 changes: 1 addition & 1 deletion docs/modules/element_elementtobeenabled.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ browser.waitUntil(elementToBeEnabled('.btn'));
An expected condition that returns a promise
representing whether the element is enabled.

Defined in: [element/elementToBeEnabled.ts:13](https://github.com/elaichenkov/wdio-wait-for/blob/074de0f/src/element/elementToBeEnabled.ts#L13)
Defined in: [element/elementToBeEnabled.ts:13](https://github.com/webdriverio/wdio-wait-for/blob/074de0f/src/element/elementToBeEnabled.ts#L13)
2 changes: 1 addition & 1 deletion docs/modules/element_elementtobeselected.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ browser.waitUntil(elementToBeSelected('.btn'));
An expected condition that returns a promise
representing whether the element is selected.

Defined in: [element/elementToBeSelected.ts:13](https://github.com/elaichenkov/wdio-wait-for/blob/074de0f/src/element/elementToBeSelected.ts#L13)
Defined in: [element/elementToBeSelected.ts:13](https://github.com/webdriverio/wdio-wait-for/blob/074de0f/src/element/elementToBeSelected.ts#L13)
2 changes: 1 addition & 1 deletion docs/modules/element_invisibilityof.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ browser.waitUntil(invisibilityOf('.header'));
An expected condition that returns a promise
representing whether the element is invisible.

Defined in: [element/invisibilityOf.ts:13](https://github.com/elaichenkov/wdio-wait-for/blob/074de0f/src/element/invisibilityOf.ts#L13)
Defined in: [element/invisibilityOf.ts:13](https://github.com/webdriverio/wdio-wait-for/blob/074de0f/src/element/invisibilityOf.ts#L13)
2 changes: 1 addition & 1 deletion docs/modules/element_numberofelementstobe.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ browser.waitUntil(numberOfElementsToBe('a', 4));
An expected condition that returns a promise
representing whether the element length.

Defined in: [element/numberOfElementsToBe.ts:14](https://github.com/elaichenkov/wdio-wait-for/blob/074de0f/src/element/numberOfElementsToBe.ts#L14)
Defined in: [element/numberOfElementsToBe.ts:14](https://github.com/webdriverio/wdio-wait-for/blob/074de0f/src/element/numberOfElementsToBe.ts#L14)
2 changes: 1 addition & 1 deletion docs/modules/element_numberofelementstobelessthan.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ browser.waitUntil(numberOfElementsToBeLessThan('a', 2));
An expected condition that returns a promise
representing whether the element length is less than defined number.

Defined in: [element/numberOfElementsToBeLessThan.ts:14](https://github.com/elaichenkov/wdio-wait-for/blob/074de0f/src/element/numberOfElementsToBeLessThan.ts#L14)
Defined in: [element/numberOfElementsToBeLessThan.ts:14](https://github.com/webdriverio/wdio-wait-for/blob/074de0f/src/element/numberOfElementsToBeLessThan.ts#L14)
2 changes: 1 addition & 1 deletion docs/modules/element_presenceof.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ browser.waitUntil(presenceOf('.header'));
An expected condition that returns a promise
representing whether the element is present on the DOM.

Defined in: [element/presenceOf.ts:13](https://github.com/elaichenkov/wdio-wait-for/blob/074de0f/src/element/presenceOf.ts#L13)
Defined in: [element/presenceOf.ts:13](https://github.com/webdriverio/wdio-wait-for/blob/074de0f/src/element/presenceOf.ts#L13)
2 changes: 1 addition & 1 deletion docs/modules/element_sizeofelementtobe.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ browser.waitUntil(sizeOfElementsToBe('button', { width: 200, height: 200 }));
An expected condition that returns a promise
representing whether the element size.

Defined in: [element/sizeOfElementToBe.ts:14](https://github.com/elaichenkov/wdio-wait-for/blob/074de0f/src/element/sizeOfElementToBe.ts#L14)
Defined in: [element/sizeOfElementToBe.ts:14](https://github.com/webdriverio/wdio-wait-for/blob/074de0f/src/element/sizeOfElementToBe.ts#L14)
2 changes: 1 addition & 1 deletion docs/modules/element_stalenessof.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ browser.waitUntil(stalenessOf('.header'));
An expected condition that returns a promise
representing whether the element is not present on the DOM.

Defined in: [element/stalenessOf.ts:13](https://github.com/elaichenkov/wdio-wait-for/blob/074de0f/src/element/stalenessOf.ts#L13)
Defined in: [element/stalenessOf.ts:13](https://github.com/webdriverio/wdio-wait-for/blob/074de0f/src/element/stalenessOf.ts#L13)
2 changes: 1 addition & 1 deletion docs/modules/element_texttobepresentinelement.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ browser.waitUntil(textToBePresentInElement('.home', 'Home'));
A condition that returns a promise
representing whether the element contains a specific text.

Defined in: [element/textToBePresentInElement.ts:14](https://github.com/elaichenkov/wdio-wait-for/blob/074de0f/src/element/textToBePresentInElement.ts#L14)
Defined in: [element/textToBePresentInElement.ts:14](https://github.com/webdriverio/wdio-wait-for/blob/074de0f/src/element/textToBePresentInElement.ts#L14)
2 changes: 1 addition & 1 deletion docs/modules/element_texttobepresentinelementvalue.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ browser.waitUntil(textToBePresentInElementValue('input', 'password'));
A condition that returns a promise
representing whether the element contains a specific value.

Defined in: [element/textToBePresentInElementValue.ts:14](https://github.com/elaichenkov/wdio-wait-for/blob/074de0f/src/element/textToBePresentInElementValue.ts#L14)
Defined in: [element/textToBePresentInElementValue.ts:14](https://github.com/webdriverio/wdio-wait-for/blob/074de0f/src/element/textToBePresentInElementValue.ts#L14)
2 changes: 1 addition & 1 deletion docs/modules/element_visibilityof.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ browser.waitUntil(visibilityOf('.header'));
An expected condition that returns a promise
representing whether the element is visible.

Defined in: [element/visibilityOf.ts:13](https://github.com/elaichenkov/wdio-wait-for/blob/074de0f/src/element/visibilityOf.ts#L13)
Defined in: [element/visibilityOf.ts:13](https://github.com/webdriverio/wdio-wait-for/blob/074de0f/src/element/visibilityOf.ts#L13)
2 changes: 1 addition & 1 deletion docs/modules/logical_and.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ browser.waitUntil(and(alertIsPresent(), numberOfWindowsToBe(2))));
An expected condition that returns a promise which
evaluates to the result of the logical and.

Defined in: [logical/and.ts:16](https://github.com/elaichenkov/wdio-wait-for/blob/074de0f/src/logical/and.ts#L16)
Defined in: [logical/and.ts:16](https://github.com/webdriverio/wdio-wait-for/blob/074de0f/src/logical/and.ts#L16)
2 changes: 1 addition & 1 deletion docs/modules/logical_logicalchain.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@

**Returns:** () => *Promise*<boolean\>

Defined in: [logical/logicalChain.ts:1](https://github.com/elaichenkov/wdio-wait-for/blob/074de0f/src/logical/logicalChain.ts#L1)
Defined in: [logical/logicalChain.ts:1](https://github.com/webdriverio/wdio-wait-for/blob/074de0f/src/logical/logicalChain.ts#L1)
2 changes: 1 addition & 1 deletion docs/modules/logical_not.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ browser.waitUntil(not(alertIsPresent()));

An expected condition that returns that returns the negated value.

Defined in: [logical/not.ts:12](https://github.com/elaichenkov/wdio-wait-for/blob/074de0f/src/logical/not.ts#L12)
Defined in: [logical/not.ts:12](https://github.com/webdriverio/wdio-wait-for/blob/074de0f/src/logical/not.ts#L12)
2 changes: 1 addition & 1 deletion docs/modules/logical_or.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ browser.waitUntil(or(numberOfWindowsToBe(3), numberOfWindowsToBe(2))));
An expected condition that returns a promise which
evaluates to the result of the logical or.

Defined in: [logical/or.ts:16](https://github.com/elaichenkov/wdio-wait-for/blob/074de0f/src/logical/or.ts#L16)
Defined in: [logical/or.ts:16](https://github.com/webdriverio/wdio-wait-for/blob/074de0f/src/logical/or.ts#L16)
Loading

0 comments on commit 6c909ca

Please sign in to comment.