|
6 | 6 | - Unit-tests set-up using Jest
|
7 | 7 | - Basic unit-tests for all Javascript code
|
8 | 8 | - Rules:
|
9 |
| --- [Given] `the (element|inputfield) "([^"]*)?"( not)* contains any text` |
10 |
| --- [Then] `I expect that (element|inputfield) "([^"]*)?"( not)* matches the text "([^"]*)?"` |
| 9 | + - [Given] `the (element|inputfield) "([^"]*)?"( not)* contains any text` |
| 10 | + - [Then] `I expect that (element|inputfield) "([^"]*)?"( not)* matches the text "([^"]*)?"` |
11 | 11 | - Lib function `checkIfElementExists` so it can be used by multiple tests to check if an element exists
|
12 | 12 | - Favicon to the demo-app
|
13 | 13 |
|
|
16 | 16 | source of the project and separate if from the actual test code.
|
17 | 17 | - ESLint configuration now matches ES6 `comma-dangle`
|
18 | 18 | - Updated dependencies
|
19 |
| --- `babel-reset-2015` |
20 |
| --- `babel-register` |
21 |
| --- `wdio-phantomjs-service` |
22 |
| --- `webdriverio` |
23 |
| --- `wdio-cucumber-framework` |
24 |
| --- `wdio-spec-reporter` |
25 |
| --- `eslint` |
26 |
| --- `eslint-config-airbnb-base` |
| 19 | + - `babel-reset-2015` |
| 20 | + - `babel-register` |
| 21 | + - `wdio-phantomjs-service` |
| 22 | + - `webdriverio` |
| 23 | + - `wdio-cucumber-framework` |
| 24 | + - `wdio-spec-reporter` |
| 25 | + - `eslint` |
| 26 | + - `eslint-config-airbnb-base` |
27 | 27 | - Updated `eslint` & `eslint-config-airbnb-base` dev. dependencies
|
28 | 28 | - Updated rules to make them more logical:
|
29 |
| --- [Given] `the (element|inputfield) "([^"]*)?"( not)* contains the text "([^"]*)?"` |
30 |
| --- [Given] `the (element|inputfield) "([^"]*)?"( not)* contains any text` |
31 |
| --- [Then] `I expect that element "([^"]*)?"( not)* contains the same text as element "([^"]*)?"` |
32 |
| --- [Then] `I expect that (element|inputfield) "([^"]*)?"( not)* contains any text` |
| 29 | + - [Given] `the (element|inputfield) "([^"]*)?"( not)* contains the text "([^"]*)?"` |
| 30 | + - [Given] `the (element|inputfield) "([^"]*)?"( not)* contains any text` |
| 31 | + - [Then] `I expect that element "([^"]*)?"( not)* contains the same text as element "([^"]*)?"` |
| 32 | + - [Then] `I expect that (element|inputfield) "([^"]*)?"( not)* contains any text` |
33 | 33 | - Updated readme
|
34 | 34 | - The demo app http-server now runs in silent mode to prevent console cluttering during tests
|
35 | 35 | - Updated contributing & pull request template with information about unit tests
|
36 | 36 | - Updated documentation link for keypress (thanks [@jjanssen](https://github.com/jjanssen))
|
37 | 37 |
|
38 | 38 | ### Fixed
|
39 | 39 | - Tests that where failing for unclear reasons
|
40 |
| --- `CheckClass` now correctly identifies the false case |
41 |
| --- `CheckContent` no longer fails when no expected text is defined |
| 40 | + - `CheckClass` now correctly identifies the false case |
| 41 | + - `CheckContent` no longer fails when no expected text is defined |
42 | 42 | - Chai `expect()` was not used in all tests
|
43 | 43 | - Chai `expect.should` was incorrectly used (is now `expect.to`)
|
44 | 44 | - Tests
|
45 |
| --- `clickElement` Now checks if element exists to prevent silent fail |
46 |
| --- `setInputField` Now checks if element exists to prevent silent fail |
47 |
| --- `checkUrlInPath` Now checks for the current domain instead of the baseurl domain |
| 45 | + - `clickElement` Now checks if element exists to prevent silent fail |
| 46 | + - `setInputField` Now checks if element exists to prevent silent fail |
| 47 | + - `checkUrlInPath` Now checks for the current domain instead of the baseurl domain |
48 | 48 |
|
49 | 49 | ### Removed
|
50 | 50 | - `checkContent` as it is now replaced with `checkContainsText` and `checkContainsAnyText`
|
|
0 commit comments