This repository has been archived by the owner on Feb 24, 2022. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^5.1.2
->^7.0.0
Release Notes
angular/protractor
v7.0.0
Compare Source
v6.0.0
Compare Source
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
Breaking changes
waitForAngularEnabled
Features
(cf43651)
chore(debugprint): convert debugprint to TypeScript (#5074)
(4672265)
chore(browser): remove timing issues with restart and fork (#5085)
closes #5031
(b4dbcc2)
chore(elementexplorer): remove explorer bin file (#5094)
closes #5092
(3b8f263)
chore(ignoreSynchornization): clean up to use waitForAngularEnabled (#5071)
(ffa3519)
chore(debugger): remove debugger and explore methods (#5070)
(c9db3f3)
chore(promises): remove q promises and webdriver promises (#5052)
(e22065c)
chore(promises): clean up driver providers and browser control flow (#5034)
Driver providers and tests:
Use native promises over q promises in driver providers
Remove driverProviderUseExistingWebDriver since the generation of the selenium server is already
accomplished when providing a selenium address in driverProvider.ts. Also clean up docs and tests.
Enabled the driverProviderLocal tests
Clean up JSDocs for q.promise
Basic lib spec:
Remove auto unwrap test for a WebElement. Reference PR #3471
Browser:
Remove control flow from waitForAngularEnabled, waitForAngular, and angularAppRoot in the
Browser class.
Dependencies
(96ae17c)
deps(jasmine): upgrade jasmine 3.3 (#5102)
(d213aa9)
deps(selenium): upgrade to selenium 4 (#5095)
elements workaround for WebElement.equals
added a better unhandled rejection warning message in the launcher
control flow)bal function wrappers for mocha (these wrappers went away with
fix the attach to session driver provider
Typing exported from Protractor:
removed ActionSequence and EventEmitter (actions is currently missing)
removed promise.Promise
fulfilled, filter, whener, delayed, createFlow, controlFlow, all,
Typings exported from WebDriver:
removed attachToSession
removed WebDriver instance methods: touchActions, call
removed WebElement getSize and getLocation for getRect
removed redefined global vars for testing
In the typings, we are missing Options.setScriptTimeout method. This should not impact users
unless they are using the driver.manage() method.
Tests:
fix element equals test
add missing 'await' in colorList test that is causing unhandled promise rejections.
remove control flow related tests
disable the install test. Installing from "file:../../" is not working.
fix the attach to session driver provider test to exit with a 1 if errors are encountered
(509f1b2)
deps(latest): upgrade to the gulp and typescript (#5089)
supported by gulpp 4 and remove run sequence since this feature is
(2def202)
deps(webdriver-manager): use replacement (#5088)
publish a beta release of use webdriver-manager-replacement until we
webdriver-manager
closes #5087
Miscellaneous
Minor fixes to remove the control flow completely and to prevent random execution order in Jasmine 3.
(0a2809e)
chore(types): fix types to use not @types/selenium-webdriver (#5127)
(84cdc50)
chore(jasmine): prevent random execution order in jasmine 3 (#5126)
v5.4.4
Compare Source
v5.4.3
Compare Source
typescript 3.7 compatibility
Resolves #5348 which was causing incompatibility with TypeScript 3.7
v5.4.2
Compare Source
Features
(db1b638)
feat(saucelabs): add sauceRegion support for eu datacenters (#5083)
This change allows user to define the backend region from sauce via the
sauceRegion
property,e.g.
Will run the test against
https://ondemand.eu-central-1.saucelabs.com:443/wd/hub/.
Will run the test against https://ondemand.saucelabs.com:443/wd/hub/
Fixes
fix(deps): @types/node is now a dev dependency
v5.4.1
Compare Source
Features
(7b08083)
feat(driverProvider): Add useExistingWebDriver driver provider (#4756)
(249e657)
feat(example): add examples of usage protractor framework with angular-material components;
(#4891)
Fixes
(39485ca)
fix(typo): fixed typo in EC expectation alias (#4952)
(07fefeb)
fix(browser): browser.navigate() return type. (#4932)
Changing return type of browser.navigate() to be Navigation instead of any.
(0b1820c)
fix(package-lock.json): update package-lock.json to match package.json. (#4931)
Dependencies
deps(webdriver_js_extender): update webdriver_js_extender to 2.1 (#4934)
v5.4.0
Compare Source
Features
feat(driverProvider) Adding browserstackProxy param in BrowserStack driverProvider (#4852)
Fixes
(492230a)
fix(generate_doc.sh): Use ES6 lib to compile down to ES5 (#4884)
(ed955e5)
fix(travisCI): Update Node versions (#4847)
(3702a70)
fix(local): Ensure webdriver.gecko.driver path is passed to Selenium (#4502)
(1c6a1a8)
fix(circleci): Switch to using circleci v2 syntax and fix build errors (#4837)
Dependencies
deps(webdriver_js_extender): update webdriver_js_extender to 2.0 (#4882)
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.