-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Dynamic Group Booking link for organization #12825
fix: Dynamic Group Booking link for organization #12825
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Ignored Deployments
|
Current dependencies on/for this PR: This stack of pull requests is managed by Graphite. |
Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link. |
📦 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✅ 333 Passing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 12/16/2023 07:05:29am UTC) Run DetailsRunning Workflow PR Update on Github Actions Commit: 302cc6e Started: 12/16/2023 06:58:34am UTC
|
|
13 Test Cases Affected |
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
unauthorized user sees correct translations (de) should use correct translations and html attributes
Retry 1 • Initial Attempt |
-13.28% (-34)-34 / 256 runsfailed over last 7 days |
13.28% (34)34 / 256 runsflaked over last 7 days |
unauthorized user sees correct translations (ar) should use correct translations and html attributes
Retry 1 • Initial Attempt |
-13.28% (-34)-34 / 256 runsfailed over last 7 days |
13.28% (34)34 / 256 runsflaked over last 7 days |
unauthorized user sees correct translations (zh) should use correct translations and html attributes
Retry 1 • Initial Attempt |
-13.28% (-34)-34 / 256 runsfailed over last 7 days |
13.28% (34)34 / 256 runsflaked over last 7 days |
unauthorized user sees correct translations (zh-CN) should use correct translations and html attributes
Retry 1 • Initial Attempt |
-13.28% (-34)-34 / 256 runsfailed over last 7 days |
13.28% (34)34 / 256 runsflaked over last 7 days |
unauthorized user sees correct translations (zh-TW) should use correct translations and html attributes
Retry 1 • Initial Attempt |
-13.28% (-34)-34 / 256 runsfailed over last 7 days |
13.28% (34)34 / 256 runsflaked over last 7 days |
unauthorized user sees correct translations (pt) should use correct translations and html attributes
Retry 1 • Initial Attempt |
-13.28% (-34)-34 / 256 runsfailed over last 7 days |
13.28% (34)34 / 256 runsflaked over last 7 days |
unauthorized user sees correct translations (pt-br) should use correct translations and html attributes
Retry 1 • Initial Attempt |
-13.28% (-34)-34 / 256 runsfailed over last 7 days |
13.28% (34)34 / 256 runsflaked over last 7 days |
unauthorized user sees correct translations (es-419) should use correct translations and html attributes
Retry 1 • Initial Attempt |
-13.28% (-34)-34 / 256 runsfailed over last 7 days |
13.28% (34)34 / 256 runsflaked over last 7 days |
authorized user sees correct translations (de) should return correct translations and html attributes
Retry 1 • Initial Attempt |
-13.28% (-34)-34 / 256 runsfailed over last 7 days |
13.28% (34)34 / 256 runsflaked over last 7 days |
authorized user sees correct translations (pt-br) should return correct translations and html attributes
Retry 1 • Initial Attempt |
-13.28% (-34)-34 / 256 runsfailed over last 7 days |
13.28% (34)34 / 256 runsflaked over last 7 days |
authorized user sees correct translations (ar) should return correct translations and html attributes
Retry 1 • Initial Attempt |
-13.28% (-34)-34 / 256 runsfailed over last 7 days |
13.28% (34)34 / 256 runsflaked over last 7 days |
authorized user sees changed translations (de->ar) should return correct translations and html attributes
Retry 1 • Initial Attempt |
-3.13% (-8)-8 / 256 runsfailed over last 7 days |
11.72% (30)30 / 256 runsflaked over last 7 days |
authorized user sees changed translations (de->pt-BR) [locale1] should return correct translations and html attributes
Retry 1 • Initial Attempt |
-8.55% (-20)-20 / 234 runsfailed over last 7 days |
11.97% (28)28 / 234 runsflaked over last 7 days |
📄 packages/embeds/embed-core/playwright/tests/preview.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Preview Preview - embed-core should load
Retry 1 • Initial Attempt |
0% (0)0 / 254 runsfailed over last 7 days |
21.65% (55)55 / 254 runsflaked over last 7 days |
📄 apps/web/playwright/login.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
user can login & logout succesfully login flow user & logout using dashboard
Retry 1 • Initial Attempt |
0.39% (1)1 / 255 runfailed over last 7 days |
24.31% (62)62 / 255 runsflaked over last 7 days |
📄 packages/embeds/embed-core/playwright/tests/action-based.e2e.ts • 4 Flakes
Top 1 Common Error Messages
|
4 Test Cases Affected |
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Popup Tests should open embed iframe on click - Configured with light theme
Retry 2 • Retry 1 • Initial Attempt |
1.16% (3)3 / 259 runsfailed over last 7 days |
59.46% (154)154 / 259 runsflaked over last 7 days |
Popup Tests Floating Button Popup Pro User - Configured in App with default setting of system theme should open embed iframe according to system theme when no theme is configured through Embed API
Retry 1 • Initial Attempt |
0.39% (1)1 / 258 runfailed over last 7 days |
81.78% (211)211 / 258 runsflaked over last 7 days |
Popup Tests should open Routing Forms embed on click
Retry 1 • Initial Attempt |
0.39% (1)1 / 258 runfailed over last 7 days |
48.06% (124)124 / 258 runsflaked over last 7 days |
Popup Tests should be able to reschedule
Retry 1 • Initial Attempt |
11.20% (29)29 / 259 runsfailed over last 7 days |
84.17% (218)218 / 259 runsflaked over last 7 days |
📄 packages/embeds/embed-core/playwright/tests/inline.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Inline Iframe Inline Iframe - Configured with Dark Theme
Retry 1 • Initial Attempt |
0.39% (1)1 / 255 runfailed over last 7 days |
43.53% (111)111 / 255 runsflaked over last 7 days |
📄 apps/web/playwright/organization/organization-creation.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Organization should be able to create an organization and complete onboarding
Retry 1 • Initial Attempt |
18.85% (49)49 / 260 runsfailed over last 7 days |
47.69% (124)124 / 260 runsflaked over last 7 days |
📄 apps/web/playwright/team/team-invitation.e2e.ts • 2 Flakes
Top 1 Common Error Messages
|
2 Test Cases Affected |
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Team Invitation (non verified)
Retry 2 • Retry 1 • Initial Attempt |
3.92% (10)10 / 255 runsfailed over last 7 days |
92.94% (237)237 / 255 runsflaked over last 7 days |
Team Invitation (verified)
Retry 1 • Initial Attempt |
0.39% (1)1 / 255 runfailed over last 7 days |
94.12% (240)240 / 255 runsflaked over last 7 days |
040ae04
to
e8d6344
Compare
@@ -47,7 +47,7 @@ export const getServerSideProps = async (ctx: GetServerSidePropsContext) => { | |||
}, | |||
}); | |||
} | |||
const params = { user: teamOrUserSlug, type }; | |||
const params = { user: teamOrUserSlugOrDynamicGroup, type }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't send slugified value as that would slugify + as well and then further dynamic group booking logic would break
// --- fill form | ||
await page.fill('[name="name"]', opts?.name ?? testName); | ||
await page.fill('[name="email"]', opts?.email ?? testEmail); | ||
if (opts?.title) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Support filling dynamic group booking title.
export function userOrgQuery(hostname: string, fallback?: string | string[]) { | ||
const { currentOrgDomain, isValidOrgDomain } = getOrgDomainConfigFromHostname({ hostname, fallback }); | ||
export function userOrgQuery(req: IncomingMessage | undefined, fallback?: string | string[]) { | ||
const { currentOrgDomain, isValidOrgDomain } = orgDomainConfig(req, fallback); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Support running tests with custom org slug. orgDomainConfig
has the support
e8d6344
to
302cc6e
Compare
Co-authored-by: Erik <erik@erosemberg.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this PR do?
Type of change
How should this be tested?
Mandatory Tasks