Open charlesBochet opened 1 month ago
Hi, @charlesBochet
I was trying to run the tests locally but it failed. Is there any prerequisites to run this locally? As I don't change anything beside the component I'm working on. Ran this on W11, WSL2.
The PR I'm working on #7580
/assign
/assign
@rizdarmwn this is weird, what tests are failing?
@rizdarmwn this is weird, what tests are failing?
Some components are straight up do not showing. Some are timed out.
Example: UI/Data/Field/Input/RelationToOneFieldInput
Couldn't find the text of 'John Wick'. I think the problem was on MSW/Mocks.
This is on Modules/CommandMenu/CommandMenu › MatchingPersonCompanyActivityCreateNavigate
, but the other errors are almost the same as this.
That's weird as they are passing on the CI Could you run the storybook:
and then browse the story on localhost:6006, go to MatchingPersonCompanyActivityCreateNavigate story and send me a screenshot of what you see / check dev console / inspect your network tab
Hi @charlesBochet ! I am currently working in a group of 5 students from Carnegie Mellon taking a software engineering course and our final project is to contribute to an open-source repo. Our project has multiple checkpoints and will be due on December 8 (meaning our PR will take longer to open). Would it be possible for us to be assigned to this issue (or any issues that you think would be a good fit)? Thanks!
@JorgeGraciaViveros, sure this could be a nice project!
Context
We are improving storybook coverage on
packages/twenty-front/src/modules
which is most of our frontend. This stories catch bugs/regressions in two ways:How to work on a story
We have a storybook testing suite that you can run using the following commands:
npx nx run twenty-front:storybook:serve:dev --configuration=modules
. This will generate something very similar to: https://647862655ef7071d35328bb2-ekyqijyxck.chromatic.com/npx nx run twenty-front:storybook:test --configuration=modules
. This will run ALL the stories. This will also output a coverage inpackages/twenty-front/coverage/storybook/lcov-report/index.html
(feel free to open this file with your browser for easy navigation)Tips:
cd packages/twenty-front
+npx @storybook/test-runner <path of the story file>
What to do