-
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 duration was always overwritten with the default (30) #12444
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 to collect XP and win prizes! |
📦 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✅ 336 Passing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 12/05/2023 12:15:52pm UTC) Run DetailsRunning Workflow PR Update on Github Actions Commit: 2267e07 Started: 12/05/2023 12:08:24pm UTC
|
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Booking with Seats User can create a seated event (2 seats as example)
Retry 1 • Initial Attempt |
1.88% (5)5 / 266 runsfailed over last 7 days |
26.69% (71)71 / 266 runsflaked over last 7 days |
📄 apps/web/playwright/locale.e2e.ts • 13 Flakes
Top 1 Common Error Messages
|
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 2 • Retry 1 • Initial Attempt |
-77.66% (-219)-219 / 282 runsfailed over last 7 days |
77.66% (219)219 / 282 runsflaked over last 7 days |
unauthorized user sees correct translations (ar) should use correct translations and html attributes
Retry 2 • Retry 1 • Initial Attempt |
-77.30% (-218)-218 / 282 runsfailed over last 7 days |
77.66% (219)219 / 282 runsflaked over last 7 days |
unauthorized user sees correct translations (zh) should use correct translations and html attributes
Retry 2 • Retry 1 • Initial Attempt |
-77.94% (-219)-219 / 281 runsfailed over last 7 days |
77.94% (219)219 / 281 runsflaked over last 7 days |
unauthorized user sees correct translations (zh-CN) should use correct translations and html attributes
Retry 2 • Retry 1 • Initial Attempt |
-77.94% (-219)-219 / 281 runsfailed over last 7 days |
77.94% (219)219 / 281 runsflaked over last 7 days |
unauthorized user sees correct translations (zh-TW) should use correct translations and html attributes
Retry 2 • Retry 1 • Initial Attempt |
-77.58% (-218)-218 / 281 runsfailed over last 7 days |
77.94% (219)219 / 281 runsflaked over last 7 days |
unauthorized user sees correct translations (pt) should use correct translations and html attributes
Retry 2 • Retry 1 • Initial Attempt |
-78.21% (-219)-219 / 280 runsfailed over last 7 days |
78.21% (219)219 / 280 runsflaked over last 7 days |
unauthorized user sees correct translations (pt-br) should use correct translations and html attributes
Retry 2 • Retry 1 • Initial Attempt |
-78.21% (-219)-219 / 280 runsfailed over last 7 days |
78.21% (219)219 / 280 runsflaked over last 7 days |
unauthorized user sees correct translations (es-419) should use correct translations and html attributes
Retry 2 • Retry 1 • Initial Attempt |
-78.21% (-219)-219 / 280 runsfailed over last 7 days |
78.21% (219)219 / 280 runsflaked over last 7 days |
authorized user sees correct translations (de) should return correct translations and html attributes
Retry 2 • Retry 1 • Initial Attempt |
-76.43% (-214)-214 / 280 runsfailed over last 7 days |
78.21% (219)219 / 280 runsflaked over last 7 days |
authorized user sees correct translations (pt-br) should return correct translations and html attributes
Retry 2 • Retry 1 • Initial Attempt |
-79.27% (-218)-218 / 275 runsfailed over last 7 days |
79.64% (219)219 / 275 runsflaked over last 7 days |
authorized user sees correct translations (ar) should return correct translations and html attributes
Retry 2 • Retry 1 • Initial Attempt |
-79.20% (-217)-217 / 274 runsfailed over last 7 days |
79.93% (219)219 / 274 runsflaked over last 7 days |
authorized user sees changed translations (de->ar) should return correct translations and html attributes
Retry 2 • Retry 1 • Initial Attempt |
-22.79% (-62)-62 / 272 runsfailed over last 7 days |
53.68% (146)146 / 272 runsflaked over last 7 days |
authorized user sees changed translations (de->pt-BR) [locale1] should return correct translations and html attributes
Retry 2 • Retry 1 • Initial Attempt |
-29.95% (-56)-56 / 187 runsfailed over last 7 days |
56.68% (106)106 / 187 runsflaked over last 7 days |
📄 apps/web/playwright/booking/checkboxGroupQuestion.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Booking With Checkbox Group Question and Each Other Question Booking With Checkbox Group Question and Address Question Booking With Checkbox Group Question and checkbox Question Checkbox Group required and checkbox required
Retry 1 • Initial Attempt |
0% (0)0 / 285 runsfailed over last 7 days |
1.75% (5)5 / 285 runsflaked over last 7 days |
📄 apps/web/playwright/booking/phoneQuestion.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Booking With Phone Question and Each Other Question Booking With Phone Question and Address Question Booking With Phone Question and Multi email Question Phone required and Multi email not required
Retry 1 • Initial Attempt |
0.35% (1)1 / 282 runfailed over last 7 days |
1.42% (4)4 / 282 runsflaked over last 7 days |
📄 apps/web/playwright/teams.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Teams - NonOrg Can create a private team
Retry 1 • Initial Attempt |
0% (0)0 / 294 runsfailed over last 7 days |
22.45% (66)66 / 294 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 be able to reschedule
Retry 2 • Retry 1 • Initial Attempt |
6.08% (18)18 / 296 runsfailed over last 7 days |
88.85% (263)263 / 296 runsflaked over last 7 days |
Popup Tests should open Routing Forms embed on click
Retry 1 • Initial Attempt |
2.71% (8)8 / 295 runsfailed over last 7 days |
38.64% (114)114 / 295 runsflaked over last 7 days |
Popup Tests should open embed iframe on click - Configured with light theme
Retry 1 • Initial Attempt |
3.04% (9)9 / 296 runsfailed over last 7 days |
51.69% (153)153 / 296 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 |
3.04% (9)9 / 296 runsfailed over last 7 days |
77.70% (230)230 / 296 runsflaked over last 7 days |
📄 apps/web/playwright/change-username.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Change username on settings User can change username
Retry 1 • Initial Attempt |
0.35% (1)1 / 286 runfailed over last 7 days |
16.08% (46)46 / 286 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 1 • Initial Attempt |
2.05% (6)6 / 293 runsfailed over last 7 days |
34.81% (102)102 / 293 runsflaked over last 7 days |
Team Invitation (verified)
Retry 1 • Initial Attempt |
0.34% (1)1 / 293 runfailed over last 7 days |
5.12% (15)15 / 293 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.24% (54)54 / 296 runsfailed over last 7 days |
60.47% (179)179 / 296 runsflaked over last 7 days |
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.
@emrysal I am seeing wrong slots when i changed the duration from 30 to 60.
and when I tried to book the slot (10:30Am-11:30AM 60min). I am getting error
Could not book the meeting.
Some of the hosts are unavailable for booking.
http://localhost:3000/pro+free
'pro' has a google calendar connected which has a busy event till 2:00 PM
'free' doesn't have any calendar connected.
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.
We got some type check uh-ohs in there
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.
I believe type errors were not linked to this pr, double checking Udit comment before approving
not sure to understand what you mean by wrong slots, it seems fine on my end ? |
Steps to reproduce this bug locally http://localhost:3000/pro+free
When Duration is 30min slots start are 2:30, 3:00, 3:30 .. Now change the duration to 60min and now the slots start at 9:30AM, 10:30AM .. and so on It ignored the busy event in calendar till 2PM. |
@Udit-takkar following the steps you describe, can't reproduce this error on both this branch and main branch, can you double check ? |
I tried again today with a new calendar connection and i am still getting the same slots as the screenshot above. |
/** | ||
* Configures the selectable options for a multiDuration event type. | ||
*/ | ||
durationConfig?: number[]; |
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.
Shall we name it durationOptions
instead ? I find that word config
implies a more complex configuration than just a set of possible duration values.
@supalarry Ok safe to merge then |
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.
Issues were addressed
…alcom#12444) Co-authored-by: Omar López <zomars@me.com> Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com>
What does this PR do?
multipleDuration useEvent was never set in case of dynamic event - so couldn't be used in the booker store.