-
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: Update Event Type Pricing For Multiple Installed Payment Apps #12272
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
4 Ignored Deployments
|
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✅ 344 Passing - ❌ 1 Failing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 12/18/2023 05:36:37pm UTC) Run DetailsRunning Workflow PR Update on Github Actions Commit: 2dc7dc2 Started: 12/18/2023 05:27:22pm UTC ❌ Failures📄 apps/web/playwright/organization/organization-creation.e2e.ts • 1 FailureTest Case Results
|
|
3 Test Cases Affected |
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Stripe integration Pending payment booking should not be confirmed by default
Retry 1 • Initial Attempt |
2.89% (7)7 / 242 runsfailed over last 7 days |
1.65% (4)4 / 242 runsflaked over last 7 days |
Stripe integration Paid booking should be able to be rescheduled
Retry 2 • Retry 1 • Initial Attempt |
1.27% (3)3 / 236 runsfailed over last 7 days |
2.12% (5)5 / 236 runsflaked over last 7 days |
Stripe integration Paid booking should be able to be cancelled
Retry 1 • Initial Attempt |
0.42% (1)1 / 236 runfailed over last 7 days |
3.81% (9)9 / 236 runsflaked over last 7 days |
📄 apps/web/playwright/organization/organization-invitation.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 |
---|---|---|
Organization Email not matching orgAutoAcceptEmail Org Invitation
Retry 2 • Retry 1 • Initial Attempt |
-100% (-16)-16 / 16 runsfailed over last 7 days |
106.25% (17)17 / 16 runsflaked over last 7 days |
Organization Email not matching orgAutoAcceptEmail Team invitation
Retry 2 • Retry 1 • Initial Attempt |
-53.33% (-8)-8 / 15 runsfailed over last 7 days |
86.67% (13)13 / 15 runsflaked over last 7 days |
Organization Email matching orgAutoAcceptEmail and a Verified Organization Org Invitation
Retry 2 • Retry 1 • Initial Attempt |
-80% (-8)-8 / 10 runsfailed over last 7 days |
100% (10)10 / 10 runsflaked over last 7 days |
Organization Email matching orgAutoAcceptEmail and a Verified Organization Team Invitation
Retry 2 • Retry 1 • Initial Attempt |
-50% (-4)-4 / 8 runsfailed over last 7 days |
87.50% (7)7 / 8 runsflaked over last 7 days |
📄 apps/web/playwright/insights.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 |
---|---|---|
Insights should be able to go to insights as members
Retry 1 • Initial Attempt |
0.80% (2)2 / 251 runsfailed over last 7 days |
4.38% (11)11 / 251 runsflaked over last 7 days |
Insights should test download button
Retry 1 • Initial Attempt |
0.80% (2)2 / 251 runsfailed over last 7 days |
5.18% (13)13 / 251 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 (verified)
Retry 1 • Initial Attempt |
0% (0)0 / 273 runsfailed over last 7 days |
94.87% (259)259 / 273 runsflaked over last 7 days |
Team Invitation (non verified)
Retry 2 • Retry 1 • Initial Attempt |
4.03% (11)11 / 273 runsfailed over last 7 days |
93.41% (255)255 / 273 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 -- legacy can add multiple organizer address
Retry 1 • Initial Attempt |
0.40% (1)1 / 251 runfailed over last 7 days |
2.39% (6)6 / 251 runsflaked over last 7 days |
📄 packages/embeds/embed-core/playwright/tests/action-based.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 |
---|---|---|
Popup Tests should be able to reschedule
Retry 1 • Initial Attempt |
14.03% (39)39 / 278 runsfailed over last 7 days |
79.86% (222)222 / 278 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.36% (1)1 / 278 runfailed over last 7 days |
84.17% (234)234 / 278 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 / 275 runsfailed over last 7 days |
23.27% (64)64 / 275 runsflaked 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 1 • Initial Attempt |
0.73% (2)2 / 274 runsfailed over last 7 days |
32.85% (90)90 / 274 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.36% (1)1 / 275 runfailed over last 7 days |
44% (121)121 / 275 runsflaked over last 7 days |
packages/trpc/server/routers/viewer/eventTypes/update.handler.ts
Outdated
Show resolved
Hide resolved
@@ -473,6 +473,19 @@ const EventTypePage = (props: EventTypeSetupProps) => { | |||
} | |||
} | |||
|
|||
// Prevent two payment apps to be enabled |
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.
This is repeated because there are two handleSubmit
functions for normal event types and managed event types
Tests related to this PR are now passing |
Changes requested have been made
What does this PR do?
This PR fixes a bug when a user had multiple payment apps installed, the pricing was not being updated on the event type when the payment apps settings were changed.
Fixes # (issue)
Requirement/Documentation
Type of change
How should this be tested?
Mandatory Tasks
Checklist