File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 1
- # webdriverio-plugin [ ![ CircleCI] ( https://circleci.com/gh/ng-apimock/webdriverio-plugin.svg?style=svg )] ( https://circleci.com/gh/ng-apimock/webdriverio-plugin ) [ ![ dependency Status] ( https://img.shields.io/david/ng-apimock/webdriverio-plugin.svg )] ( https://david-dm.org/ng-apimock/webdriverio-plugin ) [ ![ devDependency Status] ( https://img.shields.io/david/dev/ng-apimock/webdriverio-plugin.svg )] ( https://david-dm.org/ng-apimock/webdriverio-plugin#info=devDependencies )
1
+ # wdio-ng-apimock-service [ ![ CircleCI] ( https://circleci.com/gh/ng-apimock/webdriverio-plugin.svg?style=svg )] ( https://circleci.com/gh/ng-apimock/webdriverio-plugin ) [ ![ dependency Status] ( https://img.shields.io/david/ng-apimock/webdriverio-plugin.svg )] ( https://david-dm.org/ng-apimock/webdriverio-plugin ) [ ![ devDependency Status] ( https://img.shields.io/david/dev/ng-apimock/webdriverio-plugin.svg )] ( https://david-dm.org/ng-apimock/webdriverio-plugin#info=devDependencies )
2
2
webdriver plugin for @ng-apimock/core
3
3
4
+ ## Getting Started
5
+
6
+ ``` shell
7
+ npm install wdio-ng-apimock-service --save-dev
8
+ ```
9
+
4
10
### Usage
5
11
This plugin connects to ng-apimock and makes the plugin functions available within the tests.
6
12
@@ -9,7 +15,7 @@ Enable this plugin in your config file:
9
15
``` js
10
16
exports .config = {
11
17
services: [[' ng-apimock' ], {
12
- globalName: ' ngApimockWebdriverioPlugin ' // optional option (defaults to ngApimock)
18
+ globalName: ' ngApimock ' // optional option (defaults to ngApimock)
13
19
}
14
20
]
15
21
};
@@ -51,5 +57,5 @@ Resets all the mocks to the default state.
51
57
##### setMocksToPassThrough(): Promise<any >;
52
58
Sets all the mocks to pass through.
53
59
54
- ##### setPreset (name: string): Promise<any >;
55
- Sets the mocks and variables in the selected state.
60
+ ##### selectPreset (name: string): Promise<any >;
61
+ Selects the mocks and variables in the selected state.
You can’t perform that action at this time.
0 commit comments