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

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

Successfully merging this pull request may close these issues.

3 participants