test: Create unit tests for react components in packages/ui/components/credits#10044
test: Create unit tests for react components in packages/ui/components/credits#10044keithwillcode merged 5 commits intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 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✅ 71 Passing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 07/19/2023 09:01:03pm UTC) Run DetailsRunning Workflow PR Update on Github Actions Commit: c03fc2e Started: 07/19/2023 08:58:36pm 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 2 • Retry 1 • Initial Attempt |
15.85% (52)52 / 328 runsfailed over last 7 days |
26.22% (86)86 / 328 runsflaked over last 7 days |
📄 apps/web/playwright/event-types.e2e.ts • 1 Flake
Test Case Results
| Test Case | Last 7 days Failures | Last 7 days Flakes |
|---|---|---|
|
Event Types tests user can add multiple organizer address
Retry 1 • Initial Attempt |
0.58% (2)2 / 342 runsfailed over last 7 days |
10.82% (37)37 / 342 runsflaked over last 7 days |
|
🤖 Meticulous spotted visual differences in 75 of 203 screens tested: view and approve differences detected. Last updated for commit 90a304e. This comment will update as new commits are pushed. |
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? |
…s/credits (calcom#10044) Co-authored-by: gitstart-calcom <gitstart@users.noreply.github.com>
DEMO
Run