Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps(selenium): upgrade to selenium 4 #5095

Merged
merged 3 commits into from Dec 19, 2018

Conversation

cnishina
Copy link
Member

@cnishina cnishina commented Dec 15, 2018

  • Elements workaround for WebElement.equals
  • Added a better unhandled rejection warning message in the launcher
  • Remove global function wrappers for mocha (these wrappers went away with
    control flow)
  • Fix the attach to session driver provider

Typing exported from Protractor:

  • removed ActionSequence and EventEmitter
  • removed promise.Promise
  • removed Promise, defer, delayed, createFlow, controlFlow, all,
    fulfilled, filter, when
  • currently we are not exporting Actions typings since it is missing.

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
  • Add missing 'await' in colorList test. This caused 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

closes #5095

@cnishina
Copy link
Member Author

Depends on #5084

lib/browser.ts Outdated Show resolved Hide resolved
lib/driverProviders/attachSession.ts Outdated Show resolved Hide resolved
lib/launcher.ts Outdated Show resolved Hide resolved
tsc();
test('tmp/conf.js');
test('tmp/typescript_conf.js');
// test('tmp/conf.js');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do these tests not work anymore?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The entire install script does not work. We need to rethink this whole thing.

- Elements workaround for WebElement.equals
- Added a better unhandled rejection warning message in the launcher
- Remove global function wrappers for mocha (these wrappers went away with
control flow)
- Fix the attach to session driver provider

Typing exported from Protractor:

- removed ActionSequence and EventEmitter
- removed promise.Promise
- removed Promise, defer, delayed, createFlow, controlFlow, all,
fulfilled, filter, when

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

Tests:

- Fix element equals
- Add missing 'await' in colorList test. This caused 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
@cnishina cnishina force-pushed the upgrade_selenium4 branch 3 times, most recently from aa14fdf to 545c0d7 Compare December 19, 2018 00:26
@cnishina cnishina merged commit 93e7007 into angular:selenium4 Dec 19, 2018
cnishina added a commit to cnishina/protractor that referenced this pull request Dec 19, 2018
- elements workaround for WebElement.equals
- added a better unhandled rejection warning message in the launcher
- remove global function wrappers for mocha (these wrappers went away with
control flow)
- fix the attach to session driver provider

Typing exported from Protractor:

- removed ActionSequence and EventEmitter (actions is currently missing)
- removed promise.Promise
- removed Promise, defer, delayed, createFlow, controlFlow, all,
fulfilled, filter, when

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
cnishina added a commit to cnishina/protractor that referenced this pull request Mar 23, 2019
- elements workaround for WebElement.equals
- added a better unhandled rejection warning message in the launcher
- remove global function wrappers for mocha (these wrappers went away with
control flow)
- fix the attach to session driver provider

Typing exported from Protractor:

- removed ActionSequence and EventEmitter (actions is currently missing)
- removed promise.Promise
- removed Promise, defer, delayed, createFlow, controlFlow, all,
fulfilled, filter, when

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants