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

feat(browser): chain some promises in lib/browser.ts + return promi… #4021

Merged
merged 1 commit into from Jan 26, 2017

Conversation

sjelin
Copy link
Contributor

@sjelin sjelin commented Jan 26, 2017

…se from waitForAngularEnabled

Minor breaking change since waitForAngularEnabled no longer returns a boolean

Part of #3904

Chaining browser.get has proved surprisingly complex, so I'll do that in a different PR

Also fixed a minor bug in lib/clientsidescripts.js while debuging

…se from `waitForAngularEnabled`

Minor breaking change since `waitForAngularEnabled` no longer returns a boolean

Part of angular#3904

Chaining `browser.get` has proved surprisingly complex, so I'll do that in a different PR

Also fixed a minor bug in `lib/clientsidescripts.js` while debuging
@@ -109,8 +109,8 @@ function getNg1Hooks(selector, injectorPlease) {
return {$injector: $injector, $$testability: $$testability};
} else {
return tryEl(document.body) ||
trySelector('[ng-app]') || trySelector('[ng:app]') ||
trySelector('[ng-controller]') || trySelector('[ng:controller]');
trySelector('[ng-app]') || trySelector('[ng\\:app]') ||
Copy link
Contributor

Choose a reason for hiding this comment

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

Today I learned something

@sjelin sjelin merged commit 665a05e into angular:noCF Jan 26, 2017
sjelin added a commit to sjelin/protractor that referenced this pull request Jan 27, 2017
…se from `waitForAngularEnabled` (angular#4021)

Minor breaking change since `waitForAngularEnabled` no longer returns a boolean

Part of angular#3904

Chaining `browser.get` has proved surprisingly complex, so I'll do that in a different PR

Also fixed a minor bug in `lib/clientsidescripts.js` while debuging
igniteram pushed a commit to igniteram/protractor that referenced this pull request Feb 21, 2017
…se from `waitForAngularEnabled` (angular#4021)

Minor breaking change since `waitForAngularEnabled` no longer returns a boolean

Part of angular#3904

Chaining `browser.get` has proved surprisingly complex, so I'll do that in a different PR

Also fixed a minor bug in `lib/clientsidescripts.js` while debuging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Support ControlFlow-less Selenium
Stage 1: Internals (PRs)
Development

Successfully merging this pull request may close these issues.

None yet

3 participants