-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
feat: Future Limit - Toggle to exclude unavailable days #14915
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 3 Ignored Deployments
|
Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link. |
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @hariombalhara and the rest of your teammates on Graphite |
📦 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✅ 321 Passing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 05/20/2024 12:20:01pm UTC) Run DetailsRunning Workflow PR Update on Github Actions Commit: d73de6f Started: 05/20/2024 12:17:23pm UTC
|
|
2 Test Cases Affected |
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Event Types tests -- future user Different Locations Tests Can add Link Meeting as location and book with it
Retry 1 • Initial Attempt |
0.42% (1)1 / 238 runfailed over last 7 days |
13.45% (32)32 / 238 runsflaked over last 7 days |
Event Types tests -- legacy user Different Locations Tests can add Attendee Phone Number location and book with it
Retry 1 • Initial Attempt |
0% (0)0 / 235 runsfailed over last 7 days |
5.11% (12)12 / 235 runsflaked over last 7 days |
📄 packages/embeds/embed-core/playwright/tests/action-based.e2e.ts • 9 Flakes
Top 1 Common Error Messages
|
9 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 1 • Initial Attempt |
2.16% (5)5 / 232 runsfailed over last 7 days |
60.78% (141)141 / 232 runsflaked over last 7 days |
Popup Tests should be able to reschedule
Retry 1 • Initial Attempt |
-163.95% (-141)-141 / 86 runsfailed over last 7 days |
163.95% (141)141 / 86 runsflaked over last 7 days |
Popup Tests should open Routing Forms embed on click
Retry 1 • Initial Attempt |
-161.63% (-139)-139 / 86 runsfailed over last 7 days |
161.63% (139)139 / 86 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 configured with 'auto' theme using Embed API
Retry 1 • Initial Attempt |
-158.82% (-135)-135 / 85 runsfailed over last 7 days |
158.82% (135)135 / 85 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 |
-156.98% (-135)-135 / 86 runsfailed over last 7 days |
158.14% (136)136 / 86 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(Booker Profile Page) with dark theme when configured with dark theme using Embed API
Retry 1 • Initial Attempt |
-158.82% (-135)-135 / 85 runsfailed over last 7 days |
158.82% (135)135 / 85 runsflaked over last 7 days |
Popup Tests prendered embed should be loaded and apply the config given to it
Retry 1 • Initial Attempt |
-158.82% (-135)-135 / 85 runsfailed over last 7 days |
158.82% (135)135 / 85 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(Event Booking Page) with dark theme when configured with dark theme using Embed API
Retry 1 • Initial Attempt |
-158.82% (-135)-135 / 85 runsfailed over last 7 days |
158.82% (135)135 / 85 runsflaked over last 7 days |
Popup Tests should open on clicking child element
Retry 1 • Initial Attempt |
-158.33% (-133)-133 / 84 runsfailed over last 7 days |
158.33% (133)133 / 84 runsflaked over last 7 days |
📄 apps/web/playwright/managedBooking/advancedOptions.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Check advanced options in a managed team event type Check advanced options in a managed team event type without offer seats
Retry 1 • Initial Attempt |
0.44% (1)1 / 229 runfailed over last 7 days |
48.91% (112)112 / 229 runsflaked over last 7 days |
📄 apps/web/playwright/hash-my-url.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
hash my url generate url hash
Retry 1 • Initial Attempt |
6.58% (15)15 / 228 runsfailed over last 7 days |
28.07% (64)64 / 228 runsflaked over last 7 days |
📄 apps/web/playwright/webhook.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
MEETING_ENDED, MEETING_STARTED should create/remove scheduledWebhookTriggers for existing bookings
Retry 1 • Initial Attempt |
4.48% (10)10 / 223 runsfailed over last 7 days |
32.29% (72)72 / 223 runsflaked over last 7 days |
📄 packages/embeds/embed-core/playwright/tests/namespacing.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 |
---|---|---|
Namespacing Inline Embed Add inline embed using a namespace without reload
Retry 1 • Initial Attempt |
0.44% (1)1 / 229 runfailed over last 7 days |
62.88% (144)144 / 229 runsflaked over last 7 days |
Namespacing Different namespaces can have different init configs
Retry 1 • Initial Attempt |
0% (0)0 / 227 runsfailed over last 7 days |
62.56% (142)142 / 227 runsflaked over last 7 days |
Namespacing Inline Embed Double install Embed Snippet with inline embed using a namespace
Retry 1 • Initial Attempt |
0.44% (1)1 / 229 runfailed over last 7 days |
62.45% (143)143 / 229 runsflaked over last 7 days |
Namespacing Inline Embed Double install Embed Snippet with inline embed without a namespace(i.e. default namespace)
Retry 1 • Initial Attempt |
0% (0)0 / 229 runsfailed over last 7 days |
65.07% (149)149 / 229 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 -- legacy Can create a booking for Round Robin EventType
Retry 1 • Initial Attempt |
7.82% (19)19 / 243 runsfailed over last 7 days |
29.22% (71)71 / 243 runsflaked over last 7 days |
186ca4a
to
0a81b93
Compare
85d5d6b
to
37ba007
Compare
37ba007
to
2d9f9ce
Compare
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 the same error I'm getting locally. handleNewBooking is letting the booking through instead of rejecting according to the test. @hariombalhara is there a way I can help you getting this through? |
Signed-off-by: zomars <zomars@me.com>
84cff35
to
4cc1991
Compare
@Udit-takkar Unit tests are passing now https://github.com/calcom/cal.com/actions/runs/9138139614/job/25128953848?pr=14915 They started failing after a change was pushed that changed the order of imports in tests. With this branch, bookingScenario must be imported ASAP and prettier ensures that but one needs to restart their IDE otherwise prettier config doesn't update and it reverts the import reordering as soon as file is saved. So, while testing locally this should be done. cc @zomars I think this is the issue happening while you are testing locally.
|
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.
Nice work! Approved 🙏
What does this PR do?
Fixes CAL-3482
Loom Demo
Additional things:
I am still working on adding more tests to get more stability and surety but the functionality is complete
Important Points
Type of change
How should this be tested?
See the loom
Mandatory Tasks