-
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
test: Create E2E tests for bookings with custom/required Select + other questions (teste2e-selectQuestion) #11564
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✅ 251 Passing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 10/30/2023 04:25:43pm UTC) Run DetailsRunning Workflow PR Update on Github Actions Commit: 373df95 Started: 10/30/2023 04:19:18pm UTC
|
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
FORM_SUBMITTED on submitting team form, triggers team webhook
Retry 1 • Initial Attempt |
0.99% (3)3 / 303 runsfailed over last 7 days |
12.87% (39)39 / 303 runsflaked over last 7 days |
📄 apps/web/playwright/integrations-stripe.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 |
---|---|---|
Stripe integration When event is paid and confirmed Cancelled paid booking should be refunded
Retry 1 • Initial Attempt |
0% (0)0 / 305 runsfailed over last 7 days |
3.61% (11)11 / 305 runsflaked over last 7 days |
Stripe integration When event is paid and confirmed Payment should confirm pending payment booking
Retry 1 • Initial Attempt |
0% (0)0 / 305 runsfailed over last 7 days |
1.64% (5)5 / 305 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 / 319 runsfailed over last 7 days |
10.34% (33)33 / 319 runsflaked over last 7 days |
📄 packages/embeds/embed-core/playwright/tests/action-based.e2e.ts • 3 Flakes
Top 1 Common Error Messages
|
3 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.80% (9)9 / 321 runsfailed over last 7 days |
46.42% (149)149 / 321 runsflaked over last 7 days |
Popup Tests should open Routing Forms embed on click
Retry 1 • Initial Attempt |
0.31% (1)1 / 321 runfailed over last 7 days |
18.69% (60)60 / 321 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.82% (9)9 / 319 runsfailed over last 7 days |
55.49% (177)177 / 319 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.82% (9)9 / 319 runsfailed over last 7 days |
19.12% (61)61 / 319 runsflaked over last 7 days |
@gitstart-calcom Nice. Thanks a lot. One question I'm curious of: Do all of these combinations of input checks need to be E2E tests? Is there anyway we could pull this off with component/unit tests? Reason I ask is because these are more expensive and slower to run + higher maintenance moving forward. |
Hi @keithwillcode! Since we are checking more than just the component I think we can't do that using unit tests. In this tests, we simulate: Also, since we are using functions to add and confirm the questions, it will be simple to change in the future, if needed |
…er questions (teste2e-selectQuestion) (calcom#11564) Co-authored-by: gitstart-calcom <gitstart-calcom@users.noreply.github.com> Co-authored-by: GitStart-Cal.com <121884634+gitstart-calcom@users.noreply.github.com> Co-authored-by: gitstart-calcom <gitstart@users.noreply.github.com> Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com>
…er questions (teste2e-selectQuestion) (calcom#11564) Co-authored-by: gitstart-calcom <gitstart-calcom@users.noreply.github.com> Co-authored-by: GitStart-Cal.com <121884634+gitstart-calcom@users.noreply.github.com> Co-authored-by: gitstart-calcom <gitstart@users.noreply.github.com> Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com>
…er questions (teste2e-selectQuestion) (#11564) Co-authored-by: gitstart-calcom <gitstart-calcom@users.noreply.github.com> Co-authored-by: GitStart-Cal.com <121884634+gitstart-calcom@users.noreply.github.com> Co-authored-by: gitstart-calcom <gitstart@users.noreply.github.com> Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com>
HOW TO RUN THE TESTS
Run
DEMO