-
Notifications
You must be signed in to change notification settings - Fork 12k
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
e2e test doesn't work with multiCapabilities #975
Comments
Had the same problem, but fixed it by adding the following to protractor.conf.js |
@raymondkarstensen Thanks, that works for me. |
How odd... we already have |
Actually I moved it from |
Had the same problem, too. |
moving from onPrepare is also worked for me. More over I am using sauce lab to test my test cases and now its able to connect to sauce lab and start testing. @angular/cli: 1.0.0-rc.1 onPrepare() { |
I can confirm using browserstack local + multiCapabilities i had the same issue. I turned off direct connect too from some console complaining it did.
Same as @raymondkarstensen, moving to the Prepare stage worked a treat. Is there a consequence to this? |
It looks like this is the key reason for needing it in onPrepare when using multiCapabilities.
https://github.com/angular/protractor/blob/master/lib/config.ts#L407 beforeLaunch only runs once and only once, so I'm guessing each capability requires it's own typescript compiler. |
Thanks to @raymondkarstensen for this solution. Fix angular#975
Thanks to @raymondkarstensen for this solution. Fix #975
Thanks to @raymondkarstensen for this solution. Fix #975
Thanks to @raymondkarstensen for this solution. Fix #975
Thanks to @raymondkarstensen for this solution. Fix angular#975
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
The main goal I try to achieve is to run the e2e tests of an angular-cli generated app on multiple browsers which currently fails because as soon as I add a second browser I get
Unexpected token import
errors when I run tests.Mac OS X El Capitan (10.11.4).
ng new testfoo
Interestingly it works if
multiCapabilities
is used with only one browser, no matter which.The text was updated successfully, but these errors were encountered: