@badisi/wdio-harness 1.0.0 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -13
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
🔬 [WebdriverIO][wdio] support for Angular component test harnesses.
|
|
4
4
|
|
|
5
5
|
[][npm]
|
|
6
|
-
[][npm-dl]
|
|
7
7
|
[][license]
|
|
8
8
|
|
|
9
9
|
[][ci-tests]
|
|
10
10
|
[][pullrequest]
|
|
11
11
|
|
|
12
|
-
<hr
|
|
12
|
+
<hr/>
|
|
13
13
|
|
|
14
14
|
#### Component test harnesses
|
|
15
15
|
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
## Installation
|
|
22
22
|
|
|
23
23
|
```sh
|
|
24
|
-
|
|
24
|
+
npm install @badisi/wdio-harness --save-dev
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
```sh
|
|
28
|
-
|
|
28
|
+
yarn add @badisi/wdio-harness --dev
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
|
|
@@ -47,11 +47,12 @@ __Example__
|
|
|
47
47
|
|
|
48
48
|
/** ESM / Typescript */
|
|
49
49
|
import { MatDatepickerInputHarness } from '@angular/material/datepicker/testing';
|
|
50
|
-
import { getHarness } from '@badisi/wdio-harness';
|
|
50
|
+
import { getHarness, waitForAngular } from '@badisi/wdio-harness';
|
|
51
51
|
|
|
52
52
|
describe('Angular Material Harness', () => {
|
|
53
53
|
beforeEach(async () => {
|
|
54
54
|
await browser.url('http://localhost:4200');
|
|
55
|
+
await waitForAngular();
|
|
55
56
|
});
|
|
56
57
|
|
|
57
58
|
it('MatDatePicker', async () => {
|
|
@@ -79,13 +80,13 @@ See the [developer docs][developer].
|
|
|
79
80
|
|
|
80
81
|
## Contributing
|
|
81
82
|
|
|
82
|
-
|
|
83
|
+
#### > Want to Help ?
|
|
83
84
|
|
|
84
85
|
Want to file a bug, contribute some code or improve documentation ? Excellent!
|
|
85
86
|
|
|
86
87
|
But please read up first on the guidelines for [contributing][contributing], and learn about submission process, coding rules and more.
|
|
87
88
|
|
|
88
|
-
|
|
89
|
+
#### > Code of Conduct
|
|
89
90
|
|
|
90
91
|
Please read and follow the [Code of Conduct][codeofconduct] and help me keep this project open and inclusive.
|
|
91
92
|
|
|
@@ -95,10 +96,10 @@ Please read and follow the [Code of Conduct][codeofconduct] and help me keep thi
|
|
|
95
96
|
[npm]: https://www.npmjs.com/package/@badisi/wdio-harness
|
|
96
97
|
[npm-dl]: https://npmcharts.com/compare/@badisi/wdio-harness?minimal=true
|
|
97
98
|
[ci-tests]: https://github.com/badisi/wdio-harness/actions?query=workflow:CI%20tests
|
|
98
|
-
[pullrequest]: https://github.com/badisi/wdio-harness/blob/
|
|
99
|
-
[license]: https://github.com/badisi/wdio-harness/blob/
|
|
100
|
-
[developer]: https://github.com/badisi/wdio-harness/blob/
|
|
101
|
-
[contributing]: https://github.com/badisi/wdio-harness/blob/
|
|
102
|
-
[codeofconduct]: https://github.com/badisi/wdio-harness/blob/
|
|
99
|
+
[pullrequest]: https://github.com/badisi/wdio-harness/blob/main/CONTRIBUTING.md#-submitting-a-pull-request-pr
|
|
100
|
+
[license]: https://github.com/badisi/wdio-harness/blob/main/LICENSE
|
|
101
|
+
[developer]: https://github.com/badisi/wdio-harness/blob/main/DEVELOPER.md
|
|
102
|
+
[contributing]: https://github.com/badisi/wdio-harness/blob/main/CONTRIBUTING.md
|
|
103
|
+
[codeofconduct]: https://github.com/badisi/wdio-harness/blob/main/CODE_OF_CONDUCT.md
|
|
103
104
|
[wdio]: https://webdriver.io/
|
|
104
|
-
[examples]: https://github.com/badisi/wdio-harness/blob/
|
|
105
|
+
[examples]: https://github.com/badisi/wdio-harness/blob/main/projects/tests/harness.e2e.ts
|