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

add 'zone.js/dist/task-tracking.js' dynamically #1

Open
yadimon opened this issue Sep 1, 2020 · 0 comments
Open

add 'zone.js/dist/task-tracking.js' dynamically #1

yadimon opened this issue Sep 1, 2020 · 0 comments

Comments

@yadimon
Copy link
Owner

yadimon commented Sep 1, 2020

right now for setup the task-tracking.js should be added to polyfils.ts.
angular initializes ngZone with /task-tracking.js properties (Zone['TaskTrackingZoneSpec']) before protractor hooks (onPageLoad)
so i dont see the way to add it dynamically to page by plugin.

maybe its possible to monkeypatch ngZone itself.
or make some PR to angular, to make protractor plugins more flexible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant