-
Notifications
You must be signed in to change notification settings - Fork 45
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
Better full page reload failures #37
Comments
Can you please provide a test case which does the full page reload so that we can reproduce the behavior. That would help us a lot. |
I would think a test like this would reproduce it. However, I've so far not been able to reproduce with your demo tests.
|
See this issue for more discussion of this karma error: |
I was able to reproduce with this test:
output is this:
|
Thanks for the test case. I could easily reproduce the problem. But it is a bit tricky. Interestingly the onRunComplete method is called twice in this case, so the summary is printed twice. Also the test itself is successful for karma, so it is completed successful but the message with the full page reload is also printed. I changed the handling in the onRunComplete method and hope the output is better now. Let me know if this acceptable for you.
|
Assuming the |
Yes, they are. |
Published as v1.1.5 |
Please update fix for the following issue. PhantomJS 1.9.8 (Mac OS X 0.0.0) ERROR |
The error comes from karma. It has nothing to to with the reporter. Maybe you should update to the latest version of karma and PhantomJS. |
If some tests accidentally do a full page refresh,
karma-dots-reporter
reports the error, butkarma-mocha-reporter
doesn't make the failure as clear.With dots reporter:
With mocha reporter:
A better report would be:
The text was updated successfully, but these errors were encountered: