Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

selenium 4 upgrade: move test suite off of the control flow #5017

Closed
37 tasks done
cnishina opened this issue Nov 8, 2018 · 7 comments
Closed
37 tasks done

selenium 4 upgrade: move test suite off of the control flow #5017

cnishina opened this issue Nov 8, 2018 · 7 comments

Comments

@cnishina
Copy link
Member

cnishina commented Nov 8, 2018

move test suite off of the control flow

test suite should pass here

complete by: 11/09

cnishina work:

  • basic/element_spec.js
  • basic/lib_spec.js
  • basic/locators_spec.js
  • basic/mockmodule_spec.js
  • altRoot/*_spec.js and inferRoot/*_spec.js
  • mocha/*_spec.js
  • onCleanUp/*_spec.js
  • onPrepare/*_spec.js
  • suites/*_spec.js
  • withLogin/*_spec.js
  • plugins/*_spec.js
  • interaction
  • restartBrowserBetweenTestConf
  • directConnect, getCapabilities
  • driverProviderUseExistingWebDriver <-- I think this needs to be removed
  • controlLock
  • noCF built tests
  • error tests
  • driverProviderLocal
  • driverProviderAttachSession
  • failure tests
  • turn on tests in suite not turned on (probably due to merging).
  • final review: ci test suite (travis) and basicConf.js should use all the spec files. Not just the subset we used for testing.

Misc:

@CrispusDH, this means in the basic, I will not touch these files if you want to take a shot at them. Please work on one file at a time as a pull request.

  • basic/expected_conditions_spec.js
  • basic/handling_spec.js
  • basic/navigation_spec.js
  • basic/polling_spec.js
  • basic/restart_spec.js
  • basic/synchronize_spec.js
  • angular2 (we'll have to look into this one). Note in Misc (above)
  • customFramework
  • noGlobals
  • hybrid
  • interactive_tests <-- Need to turn on <-- update: deleted

Also a quick review of the PR submitted #4998, it looks like you have a lot of trailing spaces on lines. If you are using visual studio code, there is a setting to remove trailing settings. (https://stackoverflow.com/questions/30884131/remove-trailing-spaces-automatically-or-with-a-shortcut)

@cnishina cnishina self-assigned this Nov 8, 2018
@cnishina cnishina added this to the selenium4 upgrade milestone Nov 8, 2018
@cnishina cnishina mentioned this issue Nov 8, 2018
19 tasks
@cnishina cnishina changed the title move test suite off of the control flow (test suite should pass here) selenium 4 upgrade: move test suite off of the control flow (test suite should pass here) Nov 8, 2018
@cnishina cnishina changed the title selenium 4 upgrade: move test suite off of the control flow (test suite should pass here) selenium 4 upgrade: move test suite off of the control flow Nov 8, 2018
@cnishina
Copy link
Member Author

cnishina commented Nov 8, 2018

@CrispusDH I added a few more items to your list. We'll get them merged. It will require some rebasing. I just found the resolve conflicts button...if its a quick merge conflict, I'll take care of it.

@cnishina
Copy link
Member Author

For the driverProviderUseExisting note above:

Added some discussion in a previous PR #4756. This appears to be already accomplished in existing code. I plan to remove these changes and commit them into the selenium4 branch.

As part of this work, removed q.

@CrispusDH
Copy link
Contributor

@cnishina , could I help with something else? Thanks again for opportunity to contribute :)

@cnishina
Copy link
Member Author

@CrispusDH I want to move the spec.js files to TypeScript. It should be pretty easy (will create an example to try it out). Also, I'll create a separate issue to track it.

@cnishina
Copy link
Member Author

There are 2 ~ 3 more issues that remain... so so close. Should be done by tomorrow.

For issue tracking notes, the fix for Travis / Sauce Labs was to update the browser version.

@cnishina cnishina added the P0 label Nov 29, 2018
@cnishina
Copy link
Member Author

With #5069, this should be done.

@cnishina
Copy link
Member Author

cnishina commented Dec 1, 2018

Done!

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

No branches or pull requests

2 participants