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

No test tree #46

Closed
JohnathonLamOF opened this issue Feb 14, 2018 · 10 comments
Closed

No test tree #46

JohnathonLamOF opened this issue Feb 14, 2018 · 10 comments

Comments

@JohnathonLamOF
Copy link

Is this a bug report or a feature request?

Please specify whether this is a feature request 🎁 or a bug 🐛.

Version Info

  • Version of Majestic: 0.2.0
  • Version of Jest: "jest": "^22.2.2"
  • Version of Node: 8.9.4
  • Operating System: Windows 10

Reproduction Repo

Here is my jest configuration "jest": { "verbose": true, "collectCoverage": true, "coverageReporters": ["html"] }

My jest config is really minimal, so my tests are able to run, however I get nothing in the sidebar for all my tests, and when I click show failures nothing happens. My tests are in a directory formatted like this tests/{components}/{componentname}.tests.js.

@brunocroh
Copy link

same issue here

Version of Majestic: 0.2.0
Version of Jest: "jest": "^22.1.3"
Version of Node: 8.9.3
Operating System: Windows 10

@Raathigesh
Copy link
Owner

Opps! I can reproduce the issue. Will have a look!

@Raathigesh
Copy link
Owner

Hey Guys,

Sorry, I did not investigate this issue further on the current version because been working on a majestic rewrite. It will be distributed as an npm module.

If you like to help test the early build of the new majestic, please follow the steps.

  • Install majestic globally with yarn global add majestic@alpha or npm install majestic@alpha -g
  • Go to a directory with Jest configured and run majestic in your terminal
  • You should see the UI in your default browser

I would appreciate any kind of feedback on this. Please let me know if you run into any issues.

@cipriancaba
Copy link

I have the same issue with Majestic 1.0.13

@Raathigesh
Copy link
Owner

Hey @cipriancaba, would you please be able to let me know where you have the jest config? if you could create a repo where the issue is reproducible, that would be super helpful 👍

@cipriancaba
Copy link

cipriancaba commented Sep 5, 2018 via email

@cipriancaba
Copy link

cipriancaba commented Sep 5, 2018 via email

@Raathigesh
Copy link
Owner

@cipriancaba if it's create-react-app, then no need of a repo. I can take a look at it. You can press Ctrl +B or Cmd +B to bring the sidebar back. This should be documented and I'm working on finishing the website and docs.

@cipriancaba
Copy link

@Raathigesh Cmd+B did the trick.. I think there might be a need for UI element to trigger the tree.. Also if the tree is not present and you run the tests, the screen stays empty, which maybe is a bit counter-intuitive.. Other than that, great work 👍

@Raathigesh
Copy link
Owner

This is fixed in v1.1.0. Feel free to open issues if you feel like there are potential improvements or features that would make a difference to your testing workflow 👍 Closing this for now.

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

No branches or pull requests

4 participants