You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 4, 2025. It is now read-only.
fix(): add conditional logic to prevent bootstrapping in protractor tests
Previously, running protractor caused a bootstrapping error because
protractor also uses NG_DEFER_BOOTSTRAP. This change monkey patches
angular.resumeBootstrap when protractor is deferring the bootstrap
so that the angular hint modules can be loaded for testing. This
fixes an already bootstrapped error received when testing with
protractor. This commit does not cause current protractor tests
to pass as the angular hint logging system is a work in progress.
The protractor tests will test for that output when the logging
is complete.
Closes#15
expect(element(by.id('title')).getText()).toBe('Inclusive Hint Example');
16
+
expect(element(by.id('console')).getText().getText()).toBe('Angular best practices are to manipulate the DOM in the view. See: (https://github.com/angular/angular-hint-dom/blob/master/README.md) Expand to view manipulated properties and line numbers.');
18
17
});
19
18
20
19
21
-
it('should have an exclusive mode',function(){
20
+
// it('should have an exclusive mode', function() {
22
21
23
-
});
22
+
// });
24
23
25
-
it('should not bootstrap if ng-hint is not included',function(){
24
+
// it('should not bootstrap if ng-hint is not included', function() {
0 commit comments