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

Test results instantly disappear in the test results panel #1073

Closed
khaosdoctor opened this issue Sep 26, 2023 · 2 comments · Fixed by #1087
Closed

Test results instantly disappear in the test results panel #1073

khaosdoctor opened this issue Sep 26, 2023 · 2 comments · Fixed by #1087

Comments

@khaosdoctor
Copy link

khaosdoctor commented Sep 26, 2023

Environment

  1. vscode-jest version: 5.2.3
  2. node -v: 16.20.1
  3. npm -v or yarn --version: 1.22.10
  4. npm ls jest or npm ls react-scripts (if you haven’t ejected): 29.5.0
  5. your vscode-jest settings if customized: default
  6. Operating system: MacOS Ventura 13.5

Prerequisite

  • are you able to run jest test from the command line? yes
  • how do you run your tests from the command line? (for example: npm run test or node_modules/.bin/jest) yarn test

Steps to Reproduce

  1. Open any repository with tests
  2. Click the sidebar "testing" icon
  3. Run a test
  4. Focus the Test Results panel on the bottom
  5. The test results will show the terminal output while the test is running but, as soon as the test ends, the output is cleared
  6. The terminal panel will have the results in a separate terminal but not on the Test Results tab

Expected Behavior

The Test results output keeps the terminal output in the side window

Actual Behavior

The tab is being cleared as soon as the test ends but the result remains in the Terminal tab

@khaosdoctor
Copy link
Author

Made a small video about this

demo.mov

@connectdotz
Copy link
Collaborator

Yes, "Test Results" tab is not yet fully supported, see similar discussion #1051. Let's continue the discussion there. Closing this for now. Thanks!

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

Successfully merging a pull request may close this issue.

2 participants