test: Create unit tests for react components in packages/ui/components/button#10045
test: Create unit tests for react components in packages/ui/components/button#10045keithwillcode merged 6 commits intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Ignored Deployments
|
|
Thank you for following the naming conventions! 🙏 |
📦 Next.js Bundle Analysis for @calcom/webThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
Current Playwright Test Results Summary✅ 74 Passing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 07/24/2023 09:23:08pm UTC) Run DetailsRunning Workflow PR Update on Github Actions Commit: df689ef Started: 07/24/2023 09:21:23pm UTC
|
| Test Case | Last 7 days Failures | Last 7 days Flakes |
|---|---|---|
|
2FA Tests should allow a user to enable 2FA and login using 2FA
Retry 1 • Initial Attempt |
9.97% (31)31 / 311 runsfailed over last 7 days |
36.01% (112)112 / 311 runsflaked over last 7 days |
ericrommel
left a comment
There was a problem hiding this comment.
Hey @gitstart-calcom, sorry, but unit testing for ui components from a third-party library doesn't make any sense. Can you elaborate on how valuable for us to test them? unit tests are linked to actions on our behaviours, not from external components. We can achieve UI behavioural expectations from the high-level testing part, like UI Testing, Acceptance testing and others that can be even automated. What do you think to discuss about it (if needed)?
|
Hi @ericrommel, how are you? 😄
In summary, incorporating unit tests for UI components in the calcom brings advantages in terms of isolated testing, faster feedback, improved test coverage, and enhanced confidence. What do you think? |
|
🤖 Meticulous spotted visual differences in 36 of 161 screens tested: view and approve differences detected. Last updated for commit df689ef. This comment will update as new commits are pushed. |
sean-brydon
left a comment
There was a problem hiding this comment.
Great work! Happy with this!
Co-authored-by: gitstart-calcom <gitstart@users.noreply.github.com>
DEMO
Run