Skip to content

test: Create unit tests for react components in packages/ui/components/form/checkbox#10409

Merged
keithwillcode merged 1 commit intomainfrom
test-checkbox
Jul 27, 2023
Merged

test: Create unit tests for react components in packages/ui/components/form/checkbox#10409
keithwillcode merged 1 commit intomainfrom
test-checkbox

Conversation

@gitstart-calcom
Copy link
Copy Markdown
Contributor

@gitstart-calcom gitstart-calcom commented Jul 26, 2023

DEMO

Run

yarn test checkbox
image

@vercel
Copy link
Copy Markdown

vercel bot commented Jul 26, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 26, 2023 5:51pm
cal-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 26, 2023 5:51pm
dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 26, 2023 5:51pm
ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 26, 2023 5:51pm
2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Jul 26, 2023 5:51pm
qa ⬜️ Ignored (Inspect) Jul 26, 2023 5:51pm

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jul 26, 2023

Thank you for following the naming conventions! 🙏

@alwaysmeticulous
Copy link
Copy Markdown

alwaysmeticulous bot commented Jul 26, 2023

🤖 Meticulous spotted visual differences in 49 of 171 screens tested: view and approve differences detected.

Last updated for commit 0b897f0. This comment will update as new commits are pushed.

@github-actions
Copy link
Copy Markdown
Contributor

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@deploysentinel
Copy link
Copy Markdown

deploysentinel bot commented Jul 26, 2023

Current Playwright Test Results Summary

✅ 105 Passing - ⚠️ 4 Flaky

Run may still be in progress, this comment will be updated as current testing workflow or job completes...

(Last updated on 07/26/2023 05:56:05pm UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: 0b897f0

Started: 07/26/2023 05:53:17pm UTC

⚠️ Flakes

📄   packages/app-store/typeform/playwright/tests/basic.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Routing Forms Seeded Routing Form Test preview should return correct route
Retry 2Retry 1Initial Attempt
0% (0) 0 / 74 runs
failed over last 7 days
6.76% (5) 5 / 74 runs
flaked over last 7 days

📄   apps/web/playwright/login.2fa.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
2FA Tests should allow a user to enable 2FA and login using 2FA
Retry 1Initial Attempt
1.99% (6) 6 / 302 runs
failed over last 7 days
39.40% (119) 119 / 302 runs
flaked over last 7 days

📄   packages/embeds/embed-core/playwright/tests/action-based.e2e.ts • 2 Flakes

Top 1 Common Error Messages

null

2 Test Cases Affected

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Popup Tests should be able to reschedule
Retry 1Initial Attempt
1.35% (3) 3 / 223 runs
failed over last 7 days
98.21% (219) 219 / 223 runs
flaked over last 7 days
Popup Tests should open embed iframe on click - Configured with light theme
Retry 1Initial Attempt
0% (0) 0 / 222 runs
failed over last 7 days
8.11% (18) 18 / 222 runs
flaked over last 7 days

View Detailed Build Results


Copy link
Copy Markdown
Member

@sean-brydon sean-brydon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing thank you. I wonder if in the future we should swap this out for the Radix Checkbox defined in the same file.

@keithwillcode keithwillcode merged commit 54cf49c into main Jul 27, 2023
@keithwillcode keithwillcode deleted the test-checkbox branch July 27, 2023 13:46
@keithwillcode keithwillcode added Medium priority Created by Linear-GitHub Sync automated-tests area: unit tests, e2e tests, playwright labels Jul 27, 2023
@keithwillcode keithwillcode added this to the v3.2 milestone Jul 27, 2023
sean-brydon pushed a commit that referenced this pull request Jul 31, 2023
…s/form/checkbox (#10409)

Co-authored-by: gitstart-calcom <gitstart@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated-tests area: unit tests, e2e tests, playwright core area: core, team members only Medium priority Created by Linear-GitHub Sync

Projects

No open projects
Status: No status

Development

Successfully merging this pull request may close these issues.

5 participants