|
| 1 | +# 0.19.1 |
| 2 | +_Note: Major version 0 releases are for initial development, and backwards incompatible changes may be introduced at any time._ |
| 3 | + |
| 4 | +## Features |
| 5 | +- ([77393d0](https://github.com/angular/protractor/commit/77393d08343ef16ddc2b8042e187c9d68fe7bf2f)), ([6848180](https://github.com/angular/protractor/commit/68481801d506941ebf00fab71f87be510c7a87ba)), ([cca82ca](https://github.com/angular/protractor/commit/cca82caab6ae444b368eebe040a69967d774737e)) |
| 6 | + feat(runner/launcher): major runner updates to allow multiple capabilities |
| 7 | + |
| 8 | + Adding simultaneous runner capability (grid-style), refactoring launch/runner init system, and |
| 9 | + abstracting out configParser module. |
| 10 | + |
| 11 | +- ([642de06](https://github.com/angular/protractor/commit/642de06e8bbabf82c7b8e0a64a280df5c4daf01c)) |
| 12 | + feat(protractor): add removeMockModule method |
| 13 | + |
| 14 | +- ([88c339f](https://github.com/angular/protractor/commit/88c339fc1d392717a0a5b8265806934b40158c5f)) |
| 15 | + feat(runner): add adapter for cucumber.js |
| 16 | + |
| 17 | + Conflicts: |
| 18 | + lib/runner.js |
| 19 | + |
| 20 | +## Bug Fixes |
| 21 | +- ([8924bbc](https://github.com/angular/protractor/commit/8924bbca9e8f04073a29534bf16b0867a1ede7a0)) |
| 22 | + fix(cli): convert capabilities arguments to dot-notation for WebDriver compatibility |
| 23 | + |
| 24 | +- ([a96d32f](https://github.com/angular/protractor/commit/a96d32f44a92ba9447fc843bc0aca7b91b777635)) |
| 25 | + fix(webdriver-manager): upcase in IE download url |
| 26 | + |
| 27 | + The url for the Win32 version of the IEDriverServer is apparently case sensitive: _win32_ vs |
| 28 | + _Win32_ |
| 29 | + |
| 30 | +## Breaking Changes |
| 31 | +- ([05eb42b](https://github.com/angular/protractor/commit/05eb42bb482c7cb36b48af1a86210afc442aa112)) |
| 32 | + refactor(locators): moves scope in locators to last argument |
| 33 | + |
| 34 | + scope defaults to document, and is an optional argument so now be moved to the end. Came up from |
| 35 | + debugging and trying to use window.clientSideScripts.findInputs('username'); which failed. |
| 36 | + Refactored to match original intent. |
| 37 | + |
| 38 | + BREAKING CHANGE: anything relying on clientsidescripts should no longer pass |
| 39 | + element scope as first argument. |
| 40 | + |
| 41 | + Before: |
| 42 | + |
| 43 | + window.clientSideScripts.findInputs(document, 'username'); |
| 44 | + |
| 45 | + After: |
| 46 | + |
| 47 | + window.clientSideScripts.findInputs(document, 'username'); |
| 48 | + |
| 49 | + Also, any custom locators using addLocator will now break since the |
| 50 | + arguments order has chnaged. To migrate the code follow the example below: |
| 51 | + |
| 52 | + Before: |
| 53 | + |
| 54 | + var findMenuItem = function() { |
| 55 | + var domScope = arguments[0]; |
| 56 | + var myArg = arguments[1]; |
| 57 | + // balh blah blah |
| 58 | + }; |
| 59 | + by.addLocator('menuItem', findMenuItem); |
| 60 | + |
| 61 | + After: |
| 62 | + |
| 63 | + var findMenuItem = function() { |
| 64 | + var myArg = arguments[0]; |
| 65 | + var domScope = arguments[1]; |
| 66 | + // balh blah blah |
| 67 | + }; |
| 68 | + by.addLocator('menuItem', findMenuItem); |
| 69 | + |
| 70 | + Closes #497 |
| 71 | + |
| 72 | + |
1 | 73 | # 0.18.1
|
2 | 74 | _Note: Major version 0 releases are for initial development, and backwards incompatible changes may be introduced at any time._
|
3 | 75 |
|
|
0 commit comments