Skip to content

test: Create unit tests for react components in packages/ui/components/head-seo/HeadSeo#10699

Merged
hariombalhara merged 4 commits intomainfrom
test-head-seo
Aug 14, 2023
Merged

test: Create unit tests for react components in packages/ui/components/head-seo/HeadSeo#10699
hariombalhara merged 4 commits intomainfrom
test-head-seo

Conversation

@gitstart-calcom
Copy link
Copy Markdown
Contributor

@gitstart-calcom gitstart-calcom commented Aug 10, 2023

yarn test head-seo

image

@vercel
Copy link
Copy Markdown

vercel bot commented Aug 10, 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 Aug 14, 2023 6:58pm
cal-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 14, 2023 6:58pm
dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 14, 2023 6:58pm
ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 14, 2023 6:58pm
2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview Aug 14, 2023 6:58pm
qa ⬜️ Ignored (Inspect) Visit Preview Aug 14, 2023 6:58pm

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Aug 10, 2023

Thank you for following the naming conventions! 🙏

@alwaysmeticulous
Copy link
Copy Markdown

alwaysmeticulous bot commented Aug 10, 2023

🤖 Meticulous spotted visual differences in 93 of 257 screens tested: view and approve differences detected.

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Aug 10, 2023

📦 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 Aug 10, 2023

Current Playwright Test Results Summary

✅ 116 Passing - ⚠️ 2 Flaky

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

(Last updated on 08/14/2023 07:03:43pm UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: f399b7e

Started: 08/14/2023 07:01:44pm UTC

⚠️ Flakes

📄   apps/web/playwright/integrations-stripe.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Stripe integration Paid booking should be able to be rescheduled
Retry 1Initial Attempt
6.25% (20) 20 / 320 runs
failed over last 7 days
8.13% (26) 26 / 320 runs
flaked over last 7 days

📄   packages/embeds/embed-core/playwright/tests/action-based.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Popup Tests should be able to reschedule
Retry 1Initial Attempt
3.73% (12) 12 / 322 runs
failed over last 7 days
96.27% (310) 310 / 322 runs
flaked over last 7 days

View Detailed Build Results


});
});

test("Should render without brand", async () => {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We need a complementary test as well that verifies that it rendered with brand

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@hariombalhara
Rendering with branding is the default behavior, this is being tested on line 55

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Oh cool !! I think it would make sense to extract that out in a separate test.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sure, we will make the required changes and get back to you

Copy link
Copy Markdown
Member

@hariombalhara hariombalhara left a comment

Choose a reason for hiding this comment

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

Left 1 comment. Thanks @gitstart-calcom

@gitstart-calcom
Copy link
Copy Markdown
Contributor Author

Hi @hariombalhara we made the requested changes please take a look 😄

Copy link
Copy Markdown
Member

@hariombalhara hariombalhara left a comment

Choose a reason for hiding this comment

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

LGTM!!

@hariombalhara hariombalhara merged commit 053f93e into main Aug 14, 2023
@hariombalhara hariombalhara deleted the test-head-seo branch August 14, 2023 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core area: core, team members only Low priority Created by Linear-GitHub Sync

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants