cal.com icon indicating copy to clipboard operation
cal.com copied to clipboard

test: Create E2E tests for managed bookings with all questions custom/required (teste2e-managedMultiSelectQuestion)

Open gitstart-app[bot] opened this issue 2 years ago • 8 comments

In this test we simulate the following cases:

. Create a Team . Create a managed Event type . Add all Questions and update the event . Delete the event . Delete the team

DEMO

image

gitstart-app[bot] avatar Oct 25 '23 21:10 gitstart-app[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 22, 2024 10:20pm
cal-demo 🔄 Building (Inspect) Visit Preview 💬 Add feedback Jan 22, 2024 10:20pm
dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 22, 2024 10:20pm
5 Ignored Deployments
Name Status Preview Comments Updated (UTC)
ai ⬜️ Ignored (Inspect) Visit Preview Jan 22, 2024 10:20pm
cal ⬜️ Ignored (Inspect) Visit Preview Jan 22, 2024 10:20pm
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Jan 22, 2024 10:20pm
qa ⬜️ Ignored (Inspect) Visit Preview Jan 22, 2024 10:20pm
ui ⬜️ Ignored (Inspect) Visit Preview Jan 22, 2024 10:20pm

vercel[bot] avatar Oct 25 '23 21:10 vercel[bot]

Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link.

github-actions[bot] avatar Oct 25 '23 21:10 github-actions[bot]

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

github-actions[bot] avatar Oct 25 '23 21:10 github-actions[bot]

Current Playwright Test Results Summary

✅ 411 Passing - ❌ 1 Failing - ⚠️ 6 Flaky

Run may still be in progress, this comment will be updated as current testing workflow or job completes...

(Last updated on 01/22/2024 10:30:24pm UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: c23d82adf3bd4f42d473d152bf20fcd5efae5f5c

Started: 01/22/2024 10:20:31pm UTC

❌ Failures

📄   apps/web/playwright/team/team-invitation.e2e.ts • 1 Failure

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Team Invitation (non verified)
Retry 2Retry 1Initial Attempt
Error: Test timeout of 60000ms exceeded.
Test timeout of 60000ms exceeded.
0.91% (4) 4 / 441 runs
failed over last 7 days
9.30% (41) 41 / 441 runs
flaked over last 7 days

⚠️ Flakes

📄   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 1Initial Attempt
0.50% (2) 2 / 401 runs
failed over last 7 days
34.41% (138) 138 / 401 runs
flaked over last 7 days

📄   apps/web/playwright/login.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
user can login & logout succesfully -- future login flow user & logout using dashboard
Retry 2Retry 1Initial Attempt
36.51% (23) 23 / 63 runs
failed over last 7 days
38.10% (24) 24 / 63 runs
flaked 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
BOOKING_RESCHEDULED when rescheduling to a booking that already exists, should send a booking rescheduled event with the existant booking uid
Retry 1Initial Attempt
0.69% (3) 3 / 435 runs
failed over last 7 days
0.46% (2) 2 / 435 runs
flaked over last 7 days

📄   apps/web/playwright/workflow.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Workflow Tab - Event Type Check the functionalities of the Workflow Tab User Workflows Create an action and check if workflow is triggered
Retry 1Initial Attempt
2.40% (7) 7 / 292 runs
failed over last 7 days
7.88% (23) 23 / 292 runs
flaked 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 -- legacy user can add multiple organizer address
Retry 1Initial Attempt
0% (0) 0 / 149 runs
failed over last 7 days
6.71% (10) 10 / 149 runs
flaked 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 1Initial Attempt
0% (0) 0 / 437 runs
failed over last 7 days
26.54% (116) 116 / 437 runs
flaked over last 7 days

View Detailed Build Results


deploysentinel[bot] avatar Oct 25 '23 21:10 deploysentinel[bot]

In this PR we are performing the following steps:

  1. Create a Team and make sure it was created successfully
  2. Create a managed event-type and make sure the correct description is displayed and it was created successfully
  3. Check if the create event type is visible and add all possible questions for that event type
  4. Book a meeting with all questions as required (filling all) and book another meeting with all questions as optional (not filling anyone).
  5. Try to reschedule and check if it was rescheduled successfully
  6. Try to cancel and check if it was canceled successfully

gitstart-calcom avatar Nov 23 '23 18:11 gitstart-calcom

This PR is being marked as stale due to inactivity.

github-actions[bot] avatar Dec 14 '23 00:12 github-actions[bot]

This PR is being closed due to inactivity. Please reopen if work is intended to be continued.

github-actions[bot] avatar Dec 21 '23 00:12 github-actions[bot]

This PR is being marked as stale due to inactivity.

github-actions[bot] avatar Jan 05 '24 00:01 github-actions[bot]

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jan 22 '24 21:01 CLAassistant

This PR is estimated to cost between 20 and 35 credits. 🟡 By merging this PR you agree to this estimate. If you disagree, click here.

gitstart-app[bot] avatar Jan 22 '24 22:01 gitstart-app[bot]

@Udit-takkar We did the changes here, please take a look again 😄 thanks

gitstart-calcom avatar Jan 23 '24 00:01 gitstart-calcom