@badisi/wdio-harness 1.0.0 → 1.0.1

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.
Files changed (2) hide show
  1. package/README.md +7 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  🔬 [WebdriverIO][wdio] support for Angular component test harnesses.
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@badisi/wdio-harness.svg?color=blue&logo=npm)][npm]
6
- [![npm downloads](https://img.shields.io/npm/dw/@badisi/wdio-harness.svg?color=blue&logo=npm)][npm-dl]
6
+ [![npm downloads](https://img.shields.io/npm/dw/@badisi/wdio-harness.svg?color=7986CB&logo=npm)][npm-dl]
7
7
  [![license](https://img.shields.io/npm/l/@badisi/wdio-harness.svg?color=ff69b4)][license]
8
8
 
9
9
  [![build status](https://github.com/badisi/wdio-harness/workflows/CI%20tests/badge.svg)][ci-tests]
@@ -21,11 +21,11 @@
21
21
  ## Installation
22
22
 
23
23
  ```sh
24
- $ npm install @badisi/wdio-harness --save-dev
24
+ npm install @badisi/wdio-harness --save-dev
25
25
  ```
26
26
 
27
27
  ```sh
28
- $ yarn add @badisi/wdio-harness --dev
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
- ### Want to Help ?
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
- ### Code of Conduct
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@badisi/wdio-harness",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "WebdriverIO support for Angular component test harnesses.",
5
5
  "homepage": "https://github.com/badisi/wdio-harness",
6
6
  "license": "MIT",