Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

Update dependency protractor to v7 #92

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jul 10, 2020

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
protractor ^5.1.2 -> ^7.0.0 age adoption passing confidence

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

  • Control flow is removed and you should use async await to run your tests.
  • Other control flow related items:
    • debugger, explore and element explorer have been removed
    • jasminewd is no longer a dependency
  • ignoreSynchronization has been deprecated and you should use waitForAngularEnabled
  • Types for selenium-webdriver are currently in the types/ directory and are not complete. We are still missing some type definitions for selenium 4.
  • 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.

Features

  • (cf43651)
    chore(debugprint): convert debugprint to TypeScript (#​5074)

  • (4672265)
    chore(browser): remove timing issues with restart and fork (#​5085)

    • remove .ready since forking should automatically return a browser
    • getNewDriver should return a promised WebDriver that can be awaited
    • fix interaction tests and local driver tests
    • update unit tests for async await due to getNewDriver fix
      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)

    • remove q promises and webdriver promises from the runner, launcher, plugins, and taskRunner
    • add deprecated message to element explorer.
    • add unhandledRejection
    • update browser versions used in travis tests
  • (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)

    • deps(latest): upgrade to the gulp and typescript
    • add in @​types/loglevel and @​types/yargs for webdriver-manager
    • upgrade tslint clean up for tslint
      supported by gulpp 4 and remove run sequence since this feature is
    • remove compile to es5
  • (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.

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.

       sauceUser: process.env.SAUCE_USERNAME,
       sauceKey: process.env.SAUCE_ACCESS_KEY,
       sauceRegion: 'eu',

    Will run the test against https://ondemand.eu-central-1.saucelabs.com:443/wd/hub/.

       sauceUser: process.env.SAUCE_USERNAME,
       sauceKey: process.env.SAUCE_ACCESS_KEY,
       sauceRegion: 'us',
    
       // the default
       sauceUser: process.env.SAUCE_USERNAME,
       sauceKey: process.env.SAUCE_ACCESS_KEY,

    Will run the test against https://ondemand.saucelabs.com:443/wd/hub/

Fixes

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

  • (2632bb6)
    deps(webdriver_js_extender): update webdriver_js_extender to 2.1 (#​4934)

v5.4.0

Compare Source

Features

  • (03e2209)
    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

  • (056eec2)
    deps(webdriver_js_extender): update webdriver_js_extender to 2.0 (#​4882)
    1. update webdriver_js_extender to 2.0
    2. update selenium typing to 3.0.10

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.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant