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

browser.forkNewDriverInstance should return a promise that resolves to the new browser #5031

Closed
cnishina opened this issue Nov 9, 2018 · 1 comment

Comments

@cnishina
Copy link
Member

cnishina commented Nov 9, 2018

Reference #5019

browser_.ready =

"I think this is so convoluted because it needed to support the control flow case as well. This should be cleaned up - forkNewDriverInstance() should just return a promise that resolves to the new browser instance, after its ready."

browser.forkNewDriverInstance should return a promise that resolves to the new browser.

@cnishina
Copy link
Member Author

PR fix #5085

cnishina added a commit that referenced this issue Dec 18, 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 added a commit to cnishina/protractor that referenced this issue 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 issue 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.
Projects
None yet
Development

No branches or pull requests

1 participant