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

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

Merged
merged 8 commits into from
Dec 18, 2018

Conversation

cnishina
Copy link
Member

@cnishina cnishina commented Dec 11, 2018

  • 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

@cnishina cnishina force-pushed the upgrade_jasmine branch 10 times, most recently from 98a4109 to 404b7b3 Compare December 13, 2018 09:28
@cnishina
Copy link
Member Author

This appears to be having some problems. I thought it was something to do with a chrome and chromedriver mismatch. I'll have to find the culprit tests. This might take a while.

@cnishina cnishina force-pushed the upgrade_jasmine branch 5 times, most recently from 451cbcc to 14e7b58 Compare December 16, 2018 08:44
- version @types/jasmine 3.3 requires a minimum of typescript 2.8

closes angular#5054
@cnishina
Copy link
Member Author

So this journey started out as a jasmine upgrade. And its no longer a jasmine upgrade. Maybe that can be the next step after this merge.

@cnishina cnishina changed the title deps(jasmine): upgrade to the latest jasmine version 3.3 chore(browser): remove timing issues with restart and fork. Dec 17, 2018
@cnishina cnishina changed the title chore(browser): remove timing issues with restart and fork. chore(browser): remove timing issues with restart and fork Dec 17, 2018
@CrispusDH
Copy link
Contributor

I think in this PR could be fixed interaction_spec, because there appears .ready() method

@cnishina
Copy link
Member Author

.ready is not a method but a property to a promise for the forked browser instance. This is a weird way to do it. Removing it makes sense.

@cnishina cnishina merged commit 2f7320d into angular:selenium4 Dec 18, 2018
cnishina added a commit to cnishina/protractor that referenced this pull request Dec 19, 2018
)

- 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 angular#5031
cnishina added a commit to cnishina/protractor that referenced this pull request Mar 23, 2019
)

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

Successfully merging this pull request may close these issues.

4 participants