-
Notifications
You must be signed in to change notification settings - Fork 13
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
If even 1 test fails, tests fail to load Test discovery failed: Process exited with non-zero status code 1 (Click to show log) #56
Comments
This bug seems to be new in 0.7, downgraded to 0.6.1 works fine. |
Actually do not need to go back so far, 0.7.3 works correctly. |
@Charuru I'm not able to reproduce this issue with the latest version, 0.7.5. Can you create and share a minimal project repo that reproduces the issue? |
Thanks @Charuru. I was able to reproduce the issue consistently with your sample project and when using the jsdom browser, and across all recent versions of the extension, including v0.7.3. I am not however, able to reproduce it with the extension default chrome browser for any of the recent extension versions, including the latest version and v0.7.3. The issue seems to be with jsdom, where it fails when karma tries to trigger the initial test discovery Are you able to reproduce the issue with Chrome, Firefox, or any other browser? |
@lucono Thanks for trying it, doesn't make a difference on my machine whether I use jsdom or ChromeCanaryHeadless. Same behavior. |
Also, if I click on "Retry Test Load" it will keep on erroring, but if I save the test and it autoruns then the explorer will populate correctly. I don't know if this is useful information, but when I click on the refresh button on test explorer, I see the tests being runned, all the logs, etc are as expected, and the tests show up for a moment before disappearing in place of the error and then |
Changing to HTTP from CLI fixed this too. |
I see, thanks for the update. The Glad you were able to identify the issue. |
Describe the Bug
Test explorer shows red ! with :Error on the sidebar instead of tests when starting VSCode. Popup says Test discovery failed: Process exited with non-zero status code 1 (Click to show log).
I think I see the tests running on the sidebar normally, after a few seconds all the tests disappear and are replaced with the Error.
Steps to Reproduce the Behavior
Describe the Expected Behavior
The sidebar to show the tests with green and red tests as normal.
Provide Debug Logs
logs
Screenshots
Please Provide the Following Information
with Guest OS and version)
The text was updated successfully, but these errors were encountered: