Skip to content

Commit

Permalink
Feature/webdriverio v5 (#3)
Browse files Browse the repository at this point in the history
* chore(package): update to webdriverio 5

* chore(package): update wdio config for version 5

* refactor(webdriver-service): implement wdio v5 changes

* chore(package): update blackbox tests

* fix(wdio-ci-config): add sauce service

* chore(wdio-config): set log level

* refactor(page-po): await text

* refactor(page-steps): add some wait expressions

* chore(package): bump version due to breaking change (webdriverio v5.*)
  • Loading branch information
mdasberg authored Oct 14, 2019
1 parent 8f4045c commit 4722de9
Show file tree
Hide file tree
Showing 16 changed files with 184 additions and 5,135 deletions.
5 changes: 4 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# src
src

# scripts
scripts

# test
**/*.spec.*

Expand All @@ -14,4 +17,4 @@ jasmine.json
*.iml

# ci
.circleci
.circleci
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ Enable this plugin in your config file:

```js
exports.config = {
plugins: {
'@ng-apimock/webdriverio-plugin': {
services: [['wdio-ng-apimock-service'], {
globalName: 'ngApimockWebdriverioPlugin' // optional option (defaults to ngApimock)
}
}
}
]
};
```

Expand All @@ -37,10 +36,10 @@ Sets the delay time in milliseconds for the mock. This makes sure the response i
##### echoRequest(name: string, echo: boolean): Promise<any>;
Sets the indicator which enables / disables the request logging.

##### setVariable(key: string, value: string): Promise<any>;
##### setVariable(key: string, value: any): Promise<any>;
Adds or updates the global variable.

##### setVariables(variables: {[key: string]: string;}): Promise<any>;
##### setVariables(variables: {[key: string]: any;}): Promise<any>;
Adds or updates the global variables ie. {'some':'value', 'another': 'value'}.

##### deleteVariable(key: string): Promise<any>;
Expand Down
Loading

0 comments on commit 4722de9

Please sign in to comment.