92.json (15526B)
1 { 2 "number": 92, 3 "title": "Update dependency protractor to v7", 4 "state": "open", 5 "diff_file": "92.diff", 6 "author": "renovate[bot]", 7 "created_at": "2020-07-10T19:54:45Z", 8 "closed_at": null, 9 "merged_at": null, 10 "base_ref": "master", 11 "head_ref": "renovate/protractor-7.x", 12 "labels": [], 13 "assignees": [], 14 "requested_reviewers": [], 15 "body": "[](https://renovatebot.com)\n\nThis PR contains the following updates:\n\n| Package | Change | Age | Adoption | Passing | Confidence |\n|---|---|---|---|---|---|\n| [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/) |\n\n---\n\n### Release Notes\n\n<details>\n<summary>angular/protractor</summary>\n\n### [`v7.0.0`](https://togithub.com/angular/protractor/compare/6.0.0...7.0.0)\n\n[Compare Source](https://togithub.com/angular/protractor/compare/6.0.0...7.0.0)\n\n### [`v6.0.0`](https://togithub.com/angular/protractor/blob/master/CHANGELOG.md#​600)\n\n[Compare Source](https://togithub.com/angular/protractor/compare/5.4.4...6.0.0)\n\nSelenium 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)\n\n#### Breaking changes\n\n- Control flow is removed and you should use async await to run your tests.\n- Other control flow related items:\n - debugger, explore and element explorer have been removed\n - jasminewd is no longer a dependency\n- ignoreSynchronization has been deprecated and you should use `waitForAngularEnabled`\n- Types for selenium-webdriver are currently in the types/ directory and are not complete. We are still missing some type definitions for selenium 4.\n- 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.\n\n#### Features\n\n- ([cf43651](https://togithub.com/angular/protractor/commit/cf43651bd7719b2811225bd7aa084aca973df1c8))\n chore(debugprint): convert debugprint to TypeScript ([#​5074](https://togithub.com/angular/protractor/issues/5074))\n\n- ([4672265](https://togithub.com/angular/protractor/commit/4672265773b415e80554f94bdcc9637340b70c25))\n chore(browser): remove timing issues with restart and fork ([#​5085](https://togithub.com/angular/protractor/issues/5085))\n\n - remove .ready since forking should automatically return a browser\n - getNewDriver should return a promised WebDriver that can be awaited\n - fix interaction tests and local driver tests\n - update unit tests for async await due to getNewDriver fix\n closes [#​5031](https://togithub.com/angular/protractor/issues/5031)\n\n- ([b4dbcc2](https://togithub.com/angular/protractor/commit/b4dbcc2621e06fee9768b77d10ca3a3092b4d710))\n chore(elementexplorer): remove explorer bin file ([#​5094](https://togithub.com/angular/protractor/issues/5094))\n\n closes [#​5092](https://togithub.com/angular/protractor/issues/5092)\n\n- ([3b8f263](https://togithub.com/angular/protractor/commit/3b8f263d744a5e0f2e07abdeaf77ade24ec43ed1))\n chore(ignoreSynchornization): clean up to use waitForAngularEnabled ([#​5071](https://togithub.com/angular/protractor/issues/5071))\n\n- ([ffa3519](https://togithub.com/angular/protractor/commit/ffa35196751766028feb7cda38cf4d43ead2a6f7))\n chore(debugger): remove debugger and explore methods ([#​5070](https://togithub.com/angular/protractor/issues/5070))\n\n- ([c9db3f3](https://togithub.com/angular/protractor/commit/c9db3f377c52a4cdd917c9b9d1e69808969ddf15))\n chore(promises): remove q promises and webdriver promises ([#​5052](https://togithub.com/angular/protractor/issues/5052))\n\n - remove q promises and webdriver promises from the runner, launcher, plugins, and taskRunner\n - add deprecated message to element explorer.\n - add unhandledRejection\n - update browser versions used in travis tests\n\n- ([e22065c](https://togithub.com/angular/protractor/commit/e22065ca6c91c6f49f9bbebcdc6351bdeb6e61ec))\n chore(promises): clean up driver providers and browser control flow ([#​5034](https://togithub.com/angular/protractor/issues/5034))\n\n Driver providers and tests:\n\n - Use native promises over q promises in driver providers\n\n - Remove driverProviderUseExistingWebDriver since the generation of the selenium server is already\n accomplished when providing a selenium address in driverProvider.ts. Also clean up docs and tests.\n\n - Enabled the driverProviderLocal tests\n\n - Clean up JSDocs for q.promise\n Basic lib spec:\n\n - Remove auto unwrap test for a WebElement. Reference PR [#​3471](https://togithub.com/angular/protractor/issues/3471)\n Browser:\n\n - Remove control flow from waitForAngularEnabled, waitForAngular, and angularAppRoot in the\n Browser class.\n\n#### Dependencies\n\n- ([96ae17c](https://togithub.com/angular/protractor/commit/96ae17cdd8acf6cd388ddf691453fdbd7e7dd60e))\n deps(jasmine): upgrade jasmine 3.3 ([#​5102](https://togithub.com/angular/protractor/issues/5102))\n\n- ([d213aa9](https://togithub.com/angular/protractor/commit/d213aa9aea2c10efb497202c6ec2aa98e416684c))\n deps(selenium): upgrade to selenium 4 ([#​5095](https://togithub.com/angular/protractor/issues/5095))\n\n - elements workaround for WebElement.equals\n\n - added a better unhandled rejection warning message in the launcher\n control flow)bal function wrappers for mocha (these wrappers went away with\n\n - fix the attach to session driver provider\n Typing exported from Protractor:\n\n - removed ActionSequence and EventEmitter (actions is currently missing)\n\n - removed promise.Promise\n fulfilled, filter, whener, delayed, createFlow, controlFlow, all,\n Typings exported from WebDriver:\n\n - removed attachToSession\n\n - removed WebDriver instance methods: touchActions, call\n\n - removed WebElement getSize and getLocation for getRect\n\n - removed redefined global vars for testing\n\n - In the typings, we are missing Options.setScriptTimeout method. This should not impact users\n unless they are using the driver.manage() method.\n Tests:\n\n - fix element equals test\n\n - add missing 'await' in colorList test that is causing unhandled promise rejections.\n\n - remove control flow related tests\n\n - disable the install test. Installing from \"file:../../\" is not working.\n\n - fix the attach to session driver provider test to exit with a 1 if errors are encountered\n\n- ([509f1b2](https://togithub.com/angular/protractor/commit/509f1b25762c850ba82bc7527684edc8d8b52275))\n deps(latest): upgrade to the gulp and typescript ([#​5089](https://togithub.com/angular/protractor/issues/5089))\n\n - deps(latest): upgrade to the gulp and typescript\n\n <!---->\n\n - add in [@​types/loglevel](https://togithub.com/types/loglevel) and [@​types/yargs](https://togithub.com/types/yargs) for webdriver-manager\n - upgrade tslint clean up for tslint\n supported by gulpp 4 and remove run sequence since this feature is\n - remove compile to es5\n\n- ([2def202](https://togithub.com/angular/protractor/commit/2def2026de4f68cd5264afca4aa4cb51a9b550a3))\n deps(webdriver-manager): use replacement ([#​5088](https://togithub.com/angular/protractor/issues/5088))\n\npublish a beta release of use webdriver-manager-replacement until we\nwebdriver-manager\ncloses [#​5087](https://togithub.com/angular/protractor/issues/5087)\n\n#### Miscellaneous\n\nMinor fixes to remove the control flow completely and to prevent random execution order in Jasmine 3.\n\n- ([0a2809e](https://togithub.com/angular/protractor/commit/0a2809e62f34ed75632c80e1e792214e01eb0afe))\n chore(types): fix types to use not [@​types/selenium-webdriver](https://togithub.com/types/selenium-webdriver) ([#​5127](https://togithub.com/angular/protractor/issues/5127))\n\n - Remove the USE_PROMISE_MANAGER test in spec/ts/basic\n - Remove the check if we are using the control flow or not\n- ([84cdc50](https://togithub.com/angular/protractor/commit/84cdc50771b23f840bf62cb33f742dff3aaff990))\n chore(jasmine): prevent random execution order in jasmine 3 ([#​5126](https://togithub.com/angular/protractor/issues/5126))\n\n### [`v5.4.4`](https://togithub.com/angular/protractor/compare/5.4.3...5.4.4)\n\n[Compare Source](https://togithub.com/angular/protractor/compare/5.4.3...5.4.4)\n\n### [`v5.4.3`](https://togithub.com/angular/protractor/releases/5.4.3)\n\n[Compare Source](https://togithub.com/angular/protractor/compare/5.4.2...5.4.3)\n\n##### typescript 3.7 compatibility\n\nResolves [#​5348](https://togithub.com/angular/protractor/issues/5348) which was causing incompatibility with TypeScript 3.7\n\n### [`v5.4.2`](https://togithub.com/angular/protractor/blob/master/CHANGELOG.md#​542)\n\n[Compare Source](https://togithub.com/angular/protractor/compare/5.4.1...5.4.2)\n\n#### Features\n\n- ([db1b638](https://togithub.com/angular/protractor/commit/db1b6381d463c7cecf11dece2bf9412fecbd6f4d))\n feat(saucelabs): add sauceRegion support for eu datacenters ([#​5083](https://togithub.com/angular/protractor/issues/5083))\n\n This change allows user to define the backend region from sauce via the `sauceRegion` property,\n e.g.\n\n ```js\n sauceUser: process.env.SAUCE_USERNAME,\n sauceKey: process.env.SAUCE_ACCESS_KEY,\n sauceRegion: 'eu',\n ```\n\n Will run the test against `https://ondemand.eu-central-1.saucelabs.com:443/wd/hub/.`\n\n ```js\n sauceUser: process.env.SAUCE_USERNAME,\n sauceKey: process.env.SAUCE_ACCESS_KEY,\n sauceRegion: 'us',\n\n // the default\n sauceUser: process.env.SAUCE_USERNAME,\n sauceKey: process.env.SAUCE_ACCESS_KEY,\n ```\n\n Will run the test against https://ondemand.saucelabs.com:443/wd/hub/\n\n#### Fixes\n\n- ([f5dbe13](https://togithub.com/angular/protractor/commit/f5dbe13ad6755ae812627d8056527e351db8b34c))\n fix(deps): [@​types/node](https://togithub.com/types/node) is now a dev dependency\n\n### [`v5.4.1`](https://togithub.com/angular/protractor/blob/master/CHANGELOG.md#​541)\n\n[Compare Source](https://togithub.com/angular/protractor/compare/5.4.0...5.4.1)\n\n#### Features\n\n- ([7b08083](https://togithub.com/angular/protractor/commit/7b0808396458fbc2bd46c7e929f4effecb2a3f1e))\n feat(driverProvider): Add useExistingWebDriver driver provider ([#​4756](https://togithub.com/angular/protractor/issues/4756))\n\n- ([249e657](https://togithub.com/angular/protractor/commit/249e657baa605257c268f09078d56219776db9b1))\n feat(example): add examples of usage protractor framework with angular-material components;\n ([#​4891](https://togithub.com/angular/protractor/issues/4891))\n\n#### Fixes\n\n- ([39485ca](https://togithub.com/angular/protractor/commit/39485ca49ad751814ae112b224ae054e697e102f))\n fix(typo): fixed typo in EC expectation alias ([#​4952](https://togithub.com/angular/protractor/issues/4952))\n\n- ([07fefeb](https://togithub.com/angular/protractor/commit/07fefeb9636f8b3506df2eacbdb4ada29f50fbbd))\n fix(browser): browser.navigate() return type. ([#​4932](https://togithub.com/angular/protractor/issues/4932))\n\n Changing return type of browser.navigate() to be Navigation instead of any.\n\n- ([0b1820c](https://togithub.com/angular/protractor/commit/0b1820c6c1d8b13e8fb2e64f27e4fe1d3cbcdd73))\n fix(package-lock.json): update package-lock.json to match package.json. ([#​4931](https://togithub.com/angular/protractor/issues/4931))\n\n#### Dependencies\n\n- ([2632bb6](https://togithub.com/angular/protractor/commit/2632bb67c3ac7773e8b769cd5c5ee5c6d7b69f3d))\n deps(webdriver_js_extender): update webdriver_js_extender to 2.1 ([#​4934](https://togithub.com/angular/protractor/issues/4934))\n\n### [`v5.4.0`](https://togithub.com/angular/protractor/blob/master/CHANGELOG.md#​540)\n\n[Compare Source](https://togithub.com/angular/protractor/compare/5.3.2...5.4.0)\n\n#### Features\n\n- ([03e2209](https://togithub.com/angular/protractor/commit/03e22092557240217bbbcf641476db08cc35df77))\n feat(driverProvider) Adding browserstackProxy param in BrowserStack driverProvider ([#​4852](https://togithub.com/angular/protractor/issues/4852))\n\n#### Fixes\n\n- ([492230a](https://togithub.com/angular/protractor/commit/492230ab3445ca3aea3e60f55d27cb9825018ef9))\n fix(generate_doc.sh): Use ES6 lib to compile down to ES5 ([#​4884](https://togithub.com/angular/protractor/issues/4884))\n\n- ([ed955e5](https://togithub.com/angular/protractor/commit/ed955e56a839d7f69da43acb6755763220d3681d))\n fix(travisCI): Update Node versions ([#​4847](https://togithub.com/angular/protractor/issues/4847))\n\n- ([3702a70](https://togithub.com/angular/protractor/commit/3702a709fe251fed1de9ee1eab38593c2c371e94))\n fix(local): Ensure webdriver.gecko.driver path is passed to Selenium ([#​4502](https://togithub.com/angular/protractor/issues/4502))\n\n- ([1c6a1a8](https://togithub.com/angular/protractor/commit/1c6a1a82f03f2bd5911dfc37f365329d6f5acb60))\n fix(circleci): Switch to using circleci v2 syntax and fix build errors ([#​4837](https://togithub.com/angular/protractor/issues/4837))\n\n#### Dependencies\n\n- ([056eec2](https://togithub.com/angular/protractor/commit/056eec23a7d1534d5e8624d42a6c9d1f3106cf5d))\n deps(webdriver_js_extender): update webdriver_js_extender to 2.0 ([#​4882](https://togithub.com/angular/protractor/issues/4882))\n 1. update webdriver_js_extender to 2.0\n 2. update selenium typing to 3.0.10\n\n</details>\n\n---\n\n### Configuration\n\n\ud83d\udcc5 **Schedule**: At any time (no schedule defined).\n\n\ud83d\udea6 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.\n\n\u267b **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.\n\n\ud83d\udd15 **Ignore**: Close this PR and you won't be reminded about this update again.\n\n---\n\n - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.\n\n---\n\nThis 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).", 16 "comments": [], 17 "review_comments": [] 18 }