70.md (8965B)
1 # PR #70 Update dependency protractor to v6 - autoclosed 2 3 - **Status:** closed 4 - **Author:** @renovate[bot] 5 - **Created:** 2019-03-23T06:22:45Z 6 - **Branch:** renovate/protractor-6.x → master 7 - **Closed:** 2019-03-29T18:25:15Z 8 - **Diff:** [70.diff](./70.diff) 9 10 --- 11 12 This PR contains the following updates: 13 14 | Package | Type | Update | Change | References | 15 |---|---|---|---|---| 16 | protractor | devDependencies | major | [`^5.1.2` -> `^6.0.0`](https://diff.intrinsic.com/protractor/5.4.2/6.0.0) | [source](https://togithub.com/angular/protractor) | 17 18 --- 19 20 ### Release Notes 21 22 <details> 23 <summary>angular/protractor</summary> 24 25 ### [`v6.0.0`](https://togithub.com/angular/protractor/blob/master/CHANGELOG.md#​600) 26 27 [Compare Source](https://togithub.com/angular/protractor/compare/5.4.2...6.0.0) 28 29 Selenium 4 removes the control flow and most of these changes are based on those changes. To see the full list of changes, please refer to selenium-webdriver's [CHANGELOG](https://togithub.com/SeleniumHQ/selenium/blob/master/javascript/node/selenium-webdriver/CHANGES.md) 30 31 #### Breaking changes 32 33 - Control flow is removed and you should use async await to run your tests. 34 - Other control flow related items: 35 - debugger, explore and element explorer have been removed 36 - jasminewd is no longer a dependency 37 - ignoreSynchronization has been deprecated and you should use `waitForAngularEnabled` 38 - Types for selenium-webdriver are currently in the types/ directory and are not complete. We are still missing some type definitions for selenium 4. 39 - Actions API in selenium-webdriver have changed and they will break your test. Also we have not exported it yet since the type definitions are not complete. 40 41 #### Features 42 43 - ([8420cfa](https://togithub.com/angular/protractor/commit/8420cfa10fa5e32b037db933d40e84726a895f3c)) 44 chore(debugprint): convert debugprint to TypeScript ([#​5074](https://togithub.com/angular/protractor/issues/5074)) 45 46 - ([1e12445](https://togithub.com/angular/protractor/commit/1e124454d2926a9d2328c1a4516186f533b42b71)) 47 chore(browser): remove timing issues with restart and fork ([#​5085](https://togithub.com/angular/protractor/issues/5085)) 48 49 - remove .ready since forking should automatically return a browser 50 - getNewDriver should return a promised WebDriver that can be awaited 51 - fix interaction tests and local driver tests 52 - update unit tests for async await due to getNewDriver fix 53 closes [#​5031](https://togithub.com/angular/protractor/issues/5031) 54 55 - ([d6bbf09](https://togithub.com/angular/protractor/commit/d6bbf09af0220f683ac7db51ade5cada45876776)) 56 chore(elementexplorer): remove explorer bin file ([#​5094](https://togithub.com/angular/protractor/issues/5094)) 57 58 closes [#​5092](https://togithub.com/angular/protractor/issues/5092) 59 60 - ([0c325c5](https://togithub.com/angular/protractor/commit/0c325c56f0aef3b0016890b074938db875ae7a62)) 61 chore(ignoreSynchornization): clean up to use waitForAngularEnabled ([#​5071](https://togithub.com/angular/protractor/issues/5071)) 62 63 - ([591653d](https://togithub.com/angular/protractor/commit/591653d46b390d5b16087b5fb5b65cc680090fed)) 64 chore(debugger): remove debugger and explore methods ([#​5070](https://togithub.com/angular/protractor/issues/5070)) 65 66 - ([0541775](https://togithub.com/angular/protractor/commit/0541775980f0314fc36590eae1791f478588b619)) 67 chore(promises): remove q promises and webdriver promises ([#​5052](https://togithub.com/angular/protractor/issues/5052)) 68 69 - remove q promises and webdriver promises from the runner, launcher, plugins, and taskRunner 70 - add deprecated message to element explorer. 71 - add unhandledRejection 72 - update browser versions used in travis tests 73 74 - ([7ca7df2](https://togithub.com/angular/protractor/commit/7ca7df2708b847b9d002bef6d1ed0fe075154aeb)) 75 chore(promises): clean up driver providers and browser control flow ([#​5034](https://togithub.com/angular/protractor/issues/5034)) 76 77 Driver providers and tests: 78 79 - Use native promises over q promises in driver providers 80 - Remove driverProviderUseExistingWebDriver since the generation of the selenium server is already 81 accomplished when providing a selenium address in driverProvider.ts. Also clean up docs and tests. 82 83 - Enabled the driverProviderLocal tests 84 - Clean up JSDocs for q.promise 85 Basic lib spec: 86 87 - Remove auto unwrap test for a WebElement. Reference PR [#​3471](https://togithub.com/angular/protractor/issues/3471) 88 Browser: 89 90 - Remove control flow from waitForAngularEnabled, waitForAngular, and angularAppRoot in the 91 Browser class. 92 93 #### Dependencies 94 95 - ([93930ff](https://togithub.com/angular/protractor/commit/93930fff33e94942c8ff6c6c8089dcd70acd6b7b)) 96 deps(jasmine): upgrade jasmine 3.3 ([#​5102](https://togithub.com/angular/protractor/issues/5102)) 97 98 - ([373ba02](https://togithub.com/angular/protractor/commit/373ba029420a5f3f0c05bbb8f739f9fd96ac598b)) 99 deps(selenium): upgrade to selenium 4 ([#​5095](https://togithub.com/angular/protractor/issues/5095)) 100 101 - elements workaround for WebElement.equals 102 - added a better unhandled rejection warning message in the launcher 103 control flow)bal function wrappers for mocha (these wrappers went away with 104 - fix the attach to session driver provider 105 Typing exported from Protractor: 106 107 - removed ActionSequence and EventEmitter (actions is currently missing) 108 - removed promise.Promise 109 fulfilled, filter, whener, delayed, createFlow, controlFlow, all, 110 Typings exported from WebDriver: 111 112 - removed attachToSession 113 - removed WebDriver instance methods: touchActions, call 114 - removed WebElement getSize and getLocation for getRect 115 - removed redefined global vars for testing 116 - In the typings, we are missing Options.setScriptTimeout method. This should not impact users 117 unless they are using the driver.manage() method. 118 Tests: 119 120 - fix element equals test 121 - add missing 'await' in colorList test that is causing unhandled promise rejections. 122 - remove control flow related tests 123 - disable the install test. Installing from "file:../../" is not working. 124 - fix the attach to session driver provider test to exit with a 1 if errors are encountered 125 126 - ([736bbf7](https://togithub.com/angular/protractor/commit/736bbf7df04b36d1d0fcc7383be2022aa14234b0)) 127 deps(latest): upgrade to the gulp and typescript ([#​5089](https://togithub.com/angular/protractor/issues/5089)) 128 129 - deps(latest): upgrade to the gulp and typescript 130 131 - add in [@​types/loglevel](https://togithub.com/types/loglevel) and [@​types/yargs](https://togithub.com/types/yargs) for webdriver-manager 132 - upgrade tslint clean up for tslint 133 supported by gulpp 4 and remove run sequence since this feature is 134 - remove compile to es5 135 136 - ([658a1fb](https://togithub.com/angular/protractor/commit/658a1fb3020ce6a2316113cbbb6f84e513158c82)) 137 deps(webdriver-manager): use replacement ([#​5088](https://togithub.com/angular/protractor/issues/5088)) 138 139 publish a beta release of use webdriver-manager-replacement until we 140 webdriver-manager 141 closes [#​5087](https://togithub.com/angular/protractor/issues/5087) 142 143 #### Miscellaneous 144 145 Minor fixes to remove the control flow completely and to prevent random execution order in Jasmine 3. 146 147 - ([0a2809e](https://togithub.com/angular/protractor/commit/0a2809e62f34ed75632c80e1e792214e01eb0afe)) 148 chore(types): fix types to use not [@​types/selenium-webdriver](https://togithub.com/types/selenium-webdriver) ([#​5127](https://togithub.com/angular/protractor/issues/5127)) 149 150 - Remove the USE_PROMISE_MANAGER test in spec/ts/basic 151 - Remove the check if we are using the control flow or not 152 153 - ([84cdc50](https://togithub.com/angular/protractor/commit/84cdc50771b23f840bf62cb33f742dff3aaff990)) 154 chore(jasmine): prevent random execution order in jasmine 3 ([#​5126](https://togithub.com/angular/protractor/issues/5126)) 155 156 </details> 157 158 --- 159 160 ### Renovate configuration 161 162 :date: **Schedule**: At any time (no schedule defined). 163 164 :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. 165 166 :recycle: **Rebasing**: Whenever PR becomes conflicted, or if you modify the PR title to begin with "`rebase!`". 167 168 :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. 169 170 --- 171 172 - [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box 173 174 --- 175 176 This PR has been generated by [Renovate Bot](https://togithub.com/marketplace/renovate). View repository job log [here](https://renovatebot.com/dashboard#SocialNetworkNews/SocialNetworkNews-Web). 177