twenty
twenty copied to clipboard
Fix and enhance storybook:pages tests
Scope & Context
Over the last month, we have stopped executing storybook testing as the whole codebase was refactored and maintaining the test coverage would have been too expensive. Today, we want to fix the tests and get back to the 70% coverage we use to be at. #3016 This ticket is about fixing and enhancing the storybook tests covering the pages.
Technical inputs
To run the tests:
- yarn nx storybook:pages:dev
- yarn nx storybook:pages:coverage
Right now while running it on the CI, 4 tests are broken but I think way more are actually broken and graphql mocks need to be updated
Here is the GitStart Ticket for this issue: https://clients.gitstart.com/twenty/5449/tickets/TWNTY-3017