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
Describe the bug
I tried setting "testing.openTesting": "openOnTestFailure" and the Test Results viewlet still opens every time, instead of only on failures
To Reproduce
Steps to reproduce the behavior:
Go to VS code settings
Set "testing.openTesting": "openOnTestFailure"
Trigger tests on a test suite that is all successful years
The test results viewlet displays when it shouldn't do
Note: A sample repo will help us identify the bug much faster. 🙏
Expected behavior
A clear and concise description of what you expected to happen.
Viewlet only opens on failures, if all are successful, no Test Results viewlet is shown
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
vscode-jest version: LTS
node -v: LTS
npm -v or yarn --version: LTS
jest or react-scripts (if you haven’t ejected) version: LTS
your vscode-jest settings:
jest.jestCommandLine? yarn test
jest.runMode? on-save
jest.outputConfig? [e.g., none]
anything else that you think might be relevant? [e.g., none]
Operating system: Windows 11
Prerequisite
are you able to run jest from the command line? Yes
where do you run jest CLI from? Monorepo folder for specific subprojects
how do you run your tests from the command line? yarn test
Additional context
Add any other context about the problem here.
The fastest (and the most fun) way to resolve the issue is to submit a pull request yourself. If you are interested, please check out the contribution guide, we look forward to seeing your PR...
The text was updated successfully, but these errors were encountered:
GeorgeWL
changed the title
[BUG]
[BUG] "testing.openTesting": "openOnTestFailure" and opens Test Results viewlet every time, instead of only on failures
Feb 21, 2024
GeorgeWL
changed the title
[BUG] "testing.openTesting": "openOnTestFailure" and opens Test Results viewlet every time, instead of only on failures
[BUG] "testing.openTesting": "openOnTestFailure" opens the Test Results viewlet every test suite run, instead of only on failures
Feb 21, 2024
#1119 seems to have mostly fixed it, my only curiosity, is there a way to have it auto-close when tests begin succeeding again, or is that not something the vscode API gives access to?
Describe the bug
I tried setting "testing.openTesting": "openOnTestFailure" and the Test Results viewlet still opens every time, instead of only on failures
To Reproduce
Steps to reproduce the behavior:
Note: A sample repo will help us identify the bug much faster. 🙏
Expected behavior
A clear and concise description of what you expected to happen.
Viewlet only opens on failures, if all are successful, no Test Results viewlet is shown
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
node -v
: LTSnpm -v
oryarn --version
: LTSyarn test
on-save
Prerequisite
yarn test
Additional context
Add any other context about the problem here.
The fastest (and the most fun) way to resolve the issue is to submit a pull request yourself. If you are interested, please check out the contribution guide, we look forward to seeing your PR...
The text was updated successfully, but these errors were encountered: