-
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(e2e): failsafe if no availabilities #12168
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
5 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✅ 231 Passing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 10/31/2023 04:08:51pm UTC) Run DetailsRunning Workflow PR Update on Github Actions Commit: c3f376d Started: 10/31/2023 04:04:43pm UTC
|
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
prefill logged in
Retry 1 • Initial Attempt |
0% (0)0 / 272 runsfailed over last 7 days |
0.74% (2)2 / 272 runsflaked over last 7 days |
📄 apps/web/playwright/booking/addressQuestione2e/addressQuestion.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Booking With Address Question and Each Other Question Booking With Address Question and Radio group Question Address and Radio group not required
Retry 1 • Initial Attempt |
0% (0)0 / 137 runsfailed over last 7 days |
0.73% (1)1 / 137 runflaked 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 select Question Phone and select required
Retry 1 • Initial Attempt |
0% (0)0 / 255 runsfailed over last 7 days |
0.78% (2)2 / 255 runsflaked over last 7 days |
📄 apps/web/playwright/integrations-stripe.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Stripe integration When event is paid and confirmed Payment should confirm pending payment booking
Retry 1 • Initial Attempt |
0% (0)0 / 311 runsfailed over last 7 days |
1.93% (6)6 / 311 runsflaked over last 7 days |
📄 apps/web/playwright/managed-event-types.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Managed Event Types tests Can create managed event type
Retry 1 • Initial Attempt |
6.81% (22)22 / 323 runsfailed over last 7 days |
11.15% (36)36 / 323 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 |
2.78% (9)9 / 324 runsfailed over last 7 days |
21.60% (70)70 / 324 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 2 • Retry 1 • Initial Attempt |
16.82% (55)55 / 327 runsfailed over last 7 days |
81.04% (265)265 / 327 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 |
2.77% (9)9 / 325 runsfailed over last 7 days |
55.69% (181)181 / 325 runsflaked over last 7 days |
No longer needed as we fixed the underlying issue :) |
@emrysal @ThyMinimalDev Should we keep this fix around just for the case of running the test suite at, let's say, 11:58PM? Or cross that bridge when it happens? |
we could, we have unit tests to ensure that the core logic is working, we should probably make specific e2e tests as well where there is actually no slots at all and assess that |
we actually need a check for the end of the month on the e2e tests, otherwise tests will fail every end of month after 5pm since our seeded users don't have availabilities after that time |
What does this PR do?
This pr fixes e2e tests that are trying to select slots on the schedule the last day of the month, if there are no availabilities at all left during the month, we should click on the View Next Month button.
Requirement/Documentation
Type of change
How should this be tested?
Mandatory Tasks
Checklist