92.md (15012B)
1 # PR #92 Update dependency protractor to v7 2 3 - **Status:** open 4 - **Author:** @renovate[bot] 5 - **Created:** 2020-07-10T19:54:45Z 6 - **Branch:** renovate/protractor-7.x → master 7 - **Diff:** [92.diff](./92.diff) 8 9 --- 10 11 [](https://renovatebot.com) 12 13 This PR contains the following updates: 14 15 | Package | Change | Age | Adoption | Passing | Confidence | 16 |---|---|---|---|---|---| 17 | [protractor](https://togithub.com/angular/protractor) | [`^5.1.2` -> `^7.0.0`](https://renovatebot.com/diffs/npm/protractor/5.3.2/7.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | 18 19 --- 20 21 ### Release Notes 22 23 <details> 24 <summary>angular/protractor</summary> 25 26 ### [`v7.0.0`](https://togithub.com/angular/protractor/compare/6.0.0...7.0.0) 27 28 [Compare Source](https://togithub.com/angular/protractor/compare/6.0.0...7.0.0) 29 30 ### [`v6.0.0`](https://togithub.com/angular/protractor/blob/master/CHANGELOG.md#​600) 31 32 [Compare Source](https://togithub.com/angular/protractor/compare/5.4.4...6.0.0) 33 34 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) 35 36 #### Breaking changes 37 38 - Control flow is removed and you should use async await to run your tests. 39 - Other control flow related items: 40 - debugger, explore and element explorer have been removed 41 - jasminewd is no longer a dependency 42 - ignoreSynchronization has been deprecated and you should use `waitForAngularEnabled` 43 - Types for selenium-webdriver are currently in the types/ directory and are not complete. We are still missing some type definitions for selenium 4. 44 - 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. 45 46 #### Features 47 48 - ([cf43651](https://togithub.com/angular/protractor/commit/cf43651bd7719b2811225bd7aa084aca973df1c8)) 49 chore(debugprint): convert debugprint to TypeScript ([#​5074](https://togithub.com/angular/protractor/issues/5074)) 50 51 - ([4672265](https://togithub.com/angular/protractor/commit/4672265773b415e80554f94bdcc9637340b70c25)) 52 chore(browser): remove timing issues with restart and fork ([#​5085](https://togithub.com/angular/protractor/issues/5085)) 53 54 - remove .ready since forking should automatically return a browser 55 - getNewDriver should return a promised WebDriver that can be awaited 56 - fix interaction tests and local driver tests 57 - update unit tests for async await due to getNewDriver fix 58 closes [#​5031](https://togithub.com/angular/protractor/issues/5031) 59 60 - ([b4dbcc2](https://togithub.com/angular/protractor/commit/b4dbcc2621e06fee9768b77d10ca3a3092b4d710)) 61 chore(elementexplorer): remove explorer bin file ([#​5094](https://togithub.com/angular/protractor/issues/5094)) 62 63 closes [#​5092](https://togithub.com/angular/protractor/issues/5092) 64 65 - ([3b8f263](https://togithub.com/angular/protractor/commit/3b8f263d744a5e0f2e07abdeaf77ade24ec43ed1)) 66 chore(ignoreSynchornization): clean up to use waitForAngularEnabled ([#​5071](https://togithub.com/angular/protractor/issues/5071)) 67 68 - ([ffa3519](https://togithub.com/angular/protractor/commit/ffa35196751766028feb7cda38cf4d43ead2a6f7)) 69 chore(debugger): remove debugger and explore methods ([#​5070](https://togithub.com/angular/protractor/issues/5070)) 70 71 - ([c9db3f3](https://togithub.com/angular/protractor/commit/c9db3f377c52a4cdd917c9b9d1e69808969ddf15)) 72 chore(promises): remove q promises and webdriver promises ([#​5052](https://togithub.com/angular/protractor/issues/5052)) 73 74 - remove q promises and webdriver promises from the runner, launcher, plugins, and taskRunner 75 - add deprecated message to element explorer. 76 - add unhandledRejection 77 - update browser versions used in travis tests 78 79 - ([e22065c](https://togithub.com/angular/protractor/commit/e22065ca6c91c6f49f9bbebcdc6351bdeb6e61ec)) 80 chore(promises): clean up driver providers and browser control flow ([#​5034](https://togithub.com/angular/protractor/issues/5034)) 81 82 Driver providers and tests: 83 84 - Use native promises over q promises in driver providers 85 86 - Remove driverProviderUseExistingWebDriver since the generation of the selenium server is already 87 accomplished when providing a selenium address in driverProvider.ts. Also clean up docs and tests. 88 89 - Enabled the driverProviderLocal tests 90 91 - Clean up JSDocs for q.promise 92 Basic lib spec: 93 94 - Remove auto unwrap test for a WebElement. Reference PR [#​3471](https://togithub.com/angular/protractor/issues/3471) 95 Browser: 96 97 - Remove control flow from waitForAngularEnabled, waitForAngular, and angularAppRoot in the 98 Browser class. 99 100 #### Dependencies 101 102 - ([96ae17c](https://togithub.com/angular/protractor/commit/96ae17cdd8acf6cd388ddf691453fdbd7e7dd60e)) 103 deps(jasmine): upgrade jasmine 3.3 ([#​5102](https://togithub.com/angular/protractor/issues/5102)) 104 105 - ([d213aa9](https://togithub.com/angular/protractor/commit/d213aa9aea2c10efb497202c6ec2aa98e416684c)) 106 deps(selenium): upgrade to selenium 4 ([#​5095](https://togithub.com/angular/protractor/issues/5095)) 107 108 - elements workaround for WebElement.equals 109 110 - added a better unhandled rejection warning message in the launcher 111 control flow)bal function wrappers for mocha (these wrappers went away with 112 113 - fix the attach to session driver provider 114 Typing exported from Protractor: 115 116 - removed ActionSequence and EventEmitter (actions is currently missing) 117 118 - removed promise.Promise 119 fulfilled, filter, whener, delayed, createFlow, controlFlow, all, 120 Typings exported from WebDriver: 121 122 - removed attachToSession 123 124 - removed WebDriver instance methods: touchActions, call 125 126 - removed WebElement getSize and getLocation for getRect 127 128 - removed redefined global vars for testing 129 130 - In the typings, we are missing Options.setScriptTimeout method. This should not impact users 131 unless they are using the driver.manage() method. 132 Tests: 133 134 - fix element equals test 135 136 - add missing 'await' in colorList test that is causing unhandled promise rejections. 137 138 - remove control flow related tests 139 140 - disable the install test. Installing from "file:../../" is not working. 141 142 - fix the attach to session driver provider test to exit with a 1 if errors are encountered 143 144 - ([509f1b2](https://togithub.com/angular/protractor/commit/509f1b25762c850ba82bc7527684edc8d8b52275)) 145 deps(latest): upgrade to the gulp and typescript ([#​5089](https://togithub.com/angular/protractor/issues/5089)) 146 147 - deps(latest): upgrade to the gulp and typescript 148 149 <!----> 150 151 - add in [@​types/loglevel](https://togithub.com/types/loglevel) and [@​types/yargs](https://togithub.com/types/yargs) for webdriver-manager 152 - upgrade tslint clean up for tslint 153 supported by gulpp 4 and remove run sequence since this feature is 154 - remove compile to es5 155 156 - ([2def202](https://togithub.com/angular/protractor/commit/2def2026de4f68cd5264afca4aa4cb51a9b550a3)) 157 deps(webdriver-manager): use replacement ([#​5088](https://togithub.com/angular/protractor/issues/5088)) 158 159 publish a beta release of use webdriver-manager-replacement until we 160 webdriver-manager 161 closes [#​5087](https://togithub.com/angular/protractor/issues/5087) 162 163 #### Miscellaneous 164 165 Minor fixes to remove the control flow completely and to prevent random execution order in Jasmine 3. 166 167 - ([0a2809e](https://togithub.com/angular/protractor/commit/0a2809e62f34ed75632c80e1e792214e01eb0afe)) 168 chore(types): fix types to use not [@​types/selenium-webdriver](https://togithub.com/types/selenium-webdriver) ([#​5127](https://togithub.com/angular/protractor/issues/5127)) 169 170 - Remove the USE_PROMISE_MANAGER test in spec/ts/basic 171 - Remove the check if we are using the control flow or not 172 - ([84cdc50](https://togithub.com/angular/protractor/commit/84cdc50771b23f840bf62cb33f742dff3aaff990)) 173 chore(jasmine): prevent random execution order in jasmine 3 ([#​5126](https://togithub.com/angular/protractor/issues/5126)) 174 175 ### [`v5.4.4`](https://togithub.com/angular/protractor/compare/5.4.3...5.4.4) 176 177 [Compare Source](https://togithub.com/angular/protractor/compare/5.4.3...5.4.4) 178 179 ### [`v5.4.3`](https://togithub.com/angular/protractor/releases/5.4.3) 180 181 [Compare Source](https://togithub.com/angular/protractor/compare/5.4.2...5.4.3) 182 183 ##### typescript 3.7 compatibility 184 185 Resolves [#​5348](https://togithub.com/angular/protractor/issues/5348) which was causing incompatibility with TypeScript 3.7 186 187 ### [`v5.4.2`](https://togithub.com/angular/protractor/blob/master/CHANGELOG.md#​542) 188 189 [Compare Source](https://togithub.com/angular/protractor/compare/5.4.1...5.4.2) 190 191 #### Features 192 193 - ([db1b638](https://togithub.com/angular/protractor/commit/db1b6381d463c7cecf11dece2bf9412fecbd6f4d)) 194 feat(saucelabs): add sauceRegion support for eu datacenters ([#​5083](https://togithub.com/angular/protractor/issues/5083)) 195 196 This change allows user to define the backend region from sauce via the `sauceRegion` property, 197 e.g. 198 199 ```js 200 sauceUser: process.env.SAUCE_USERNAME, 201 sauceKey: process.env.SAUCE_ACCESS_KEY, 202 sauceRegion: 'eu', 203 ``` 204 205 Will run the test against `https://ondemand.eu-central-1.saucelabs.com:443/wd/hub/.` 206 207 ```js 208 sauceUser: process.env.SAUCE_USERNAME, 209 sauceKey: process.env.SAUCE_ACCESS_KEY, 210 sauceRegion: 'us', 211 212 // the default 213 sauceUser: process.env.SAUCE_USERNAME, 214 sauceKey: process.env.SAUCE_ACCESS_KEY, 215 ``` 216 217 Will run the test against https://ondemand.saucelabs.com:443/wd/hub/ 218 219 #### Fixes 220 221 - ([f5dbe13](https://togithub.com/angular/protractor/commit/f5dbe13ad6755ae812627d8056527e351db8b34c)) 222 fix(deps): [@​types/node](https://togithub.com/types/node) is now a dev dependency 223 224 ### [`v5.4.1`](https://togithub.com/angular/protractor/blob/master/CHANGELOG.md#​541) 225 226 [Compare Source](https://togithub.com/angular/protractor/compare/5.4.0...5.4.1) 227 228 #### Features 229 230 - ([7b08083](https://togithub.com/angular/protractor/commit/7b0808396458fbc2bd46c7e929f4effecb2a3f1e)) 231 feat(driverProvider): Add useExistingWebDriver driver provider ([#​4756](https://togithub.com/angular/protractor/issues/4756)) 232 233 - ([249e657](https://togithub.com/angular/protractor/commit/249e657baa605257c268f09078d56219776db9b1)) 234 feat(example): add examples of usage protractor framework with angular-material components; 235 ([#​4891](https://togithub.com/angular/protractor/issues/4891)) 236 237 #### Fixes 238 239 - ([39485ca](https://togithub.com/angular/protractor/commit/39485ca49ad751814ae112b224ae054e697e102f)) 240 fix(typo): fixed typo in EC expectation alias ([#​4952](https://togithub.com/angular/protractor/issues/4952)) 241 242 - ([07fefeb](https://togithub.com/angular/protractor/commit/07fefeb9636f8b3506df2eacbdb4ada29f50fbbd)) 243 fix(browser): browser.navigate() return type. ([#​4932](https://togithub.com/angular/protractor/issues/4932)) 244 245 Changing return type of browser.navigate() to be Navigation instead of any. 246 247 - ([0b1820c](https://togithub.com/angular/protractor/commit/0b1820c6c1d8b13e8fb2e64f27e4fe1d3cbcdd73)) 248 fix(package-lock.json): update package-lock.json to match package.json. ([#​4931](https://togithub.com/angular/protractor/issues/4931)) 249 250 #### Dependencies 251 252 - ([2632bb6](https://togithub.com/angular/protractor/commit/2632bb67c3ac7773e8b769cd5c5ee5c6d7b69f3d)) 253 deps(webdriver_js_extender): update webdriver_js_extender to 2.1 ([#​4934](https://togithub.com/angular/protractor/issues/4934)) 254 255 ### [`v5.4.0`](https://togithub.com/angular/protractor/blob/master/CHANGELOG.md#​540) 256 257 [Compare Source](https://togithub.com/angular/protractor/compare/5.3.2...5.4.0) 258 259 #### Features 260 261 - ([03e2209](https://togithub.com/angular/protractor/commit/03e22092557240217bbbcf641476db08cc35df77)) 262 feat(driverProvider) Adding browserstackProxy param in BrowserStack driverProvider ([#​4852](https://togithub.com/angular/protractor/issues/4852)) 263 264 #### Fixes 265 266 - ([492230a](https://togithub.com/angular/protractor/commit/492230ab3445ca3aea3e60f55d27cb9825018ef9)) 267 fix(generate_doc.sh): Use ES6 lib to compile down to ES5 ([#​4884](https://togithub.com/angular/protractor/issues/4884)) 268 269 - ([ed955e5](https://togithub.com/angular/protractor/commit/ed955e56a839d7f69da43acb6755763220d3681d)) 270 fix(travisCI): Update Node versions ([#​4847](https://togithub.com/angular/protractor/issues/4847)) 271 272 - ([3702a70](https://togithub.com/angular/protractor/commit/3702a709fe251fed1de9ee1eab38593c2c371e94)) 273 fix(local): Ensure webdriver.gecko.driver path is passed to Selenium ([#​4502](https://togithub.com/angular/protractor/issues/4502)) 274 275 - ([1c6a1a8](https://togithub.com/angular/protractor/commit/1c6a1a82f03f2bd5911dfc37f365329d6f5acb60)) 276 fix(circleci): Switch to using circleci v2 syntax and fix build errors ([#​4837](https://togithub.com/angular/protractor/issues/4837)) 277 278 #### Dependencies 279 280 - ([056eec2](https://togithub.com/angular/protractor/commit/056eec23a7d1534d5e8624d42a6c9d1f3106cf5d)) 281 deps(webdriver_js_extender): update webdriver_js_extender to 2.0 ([#​4882](https://togithub.com/angular/protractor/issues/4882)) 282 1. update webdriver_js_extender to 2.0 283 2. update selenium typing to 3.0.10 284 285 </details> 286 287 --- 288 289 ### Configuration 290 291 📅 **Schedule**: At any time (no schedule defined). 292 293 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. 294 295 ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 296 297 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. 298 299 --- 300 301 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. 302 303 --- 304 305 This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/SocialNetworkNews/SocialNetworkNews-Web). 306