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

test: Create E2E tests for a collective event type (teste2e-bookCollective)

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

In this PR we are performing the following steps:

  1. Assert the user can't see event-types related to teams when he is creating a event-type without a team
  2. Create a Team and make sure it was created successfully
  3. Create a collective event-type and make sure it was created successfully
  4. Book the collective event-type
  5. Assert the collective event-type was created successfully.
  6. Make sure the user can see the correct label, title and description on bookings and event-types page (with the correct guests too if was added some guest)
  7. Reschedule the meeting and make sure it was rescheduled successfully
  8. Cancel the meeting and make sure it was canceled successfully

The tests are taking approximately 30 seconds to run:

image

DEMO

https://www.loom.com/share/1cab68f649bb4f29b82b3c7812e0e2dc?sid=8aebfc7f-4ba4-48fe-8718-b31ce3cd43b7

image

gitstart-app[bot] avatar Nov 27 '23 22:11 gitstart-app[bot]

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

gitstart-app[bot] avatar Nov 27 '23 22:11 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 28, 2024 10:09pm
dev ❌ Failed (Inspect) Jan 28, 2024 10:09pm
qa 🔄 Building (Inspect) Visit Preview 💬 Add feedback Jan 28, 2024 10:09pm
5 Ignored Deployments
Name Status Preview Comments Updated (UTC)
ai ⬜️ Ignored (Inspect) Visit Preview Jan 28, 2024 10:09pm
cal ⬜️ Ignored (Inspect) Visit Preview Jan 28, 2024 10:09pm
cal-demo ⬜️ Ignored (Inspect) Visit Preview Jan 28, 2024 10:09pm
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Jan 28, 2024 10:09pm
ui ⬜️ Ignored (Inspect) Visit Preview Jan 28, 2024 10:09pm

vercel[bot] avatar Nov 27 '23 22:11 vercel[bot]

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

github-actions[bot] avatar Nov 27 '23 22:11 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 Nov 27 '23 23:11 github-actions[bot]

Current Playwright Test Results Summary

✅ 444 Passing - ⚠️ 14 Flaky

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

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

Run Details

Running Workflow PR Update on Github Actions

Commit: 1eaeb7431fbccdb9426142454f060074ffbc46c8

Started: 01/28/2024 10:13:17pm UTC

⚠️ Flakes

📄   apps/web/playwright/booking/selectQuestion.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 Select Question and Multi email Question Select and Multi email not required
Retry 1Initial Attempt
0% (0) 0 / 237 runs
failed over last 7 days
2.11% (5) 5 / 237 runs
flaked over last 7 days

📄   apps/web/playwright/booking/longTextQuestion.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Booking With Long Text Question and Each Other Question Booking With Long Text Question and multiselect Question Long Text and multiselect text required
Retry 1Initial Attempt
0.41% (1) 1 / 243 run
failed over last 7 days
3.29% (8) 8 / 243 runs
flaked over last 7 days

📄   apps/web/playwright/booking/phoneQuestion.e2e.ts • 2 Flakes

Top 1 Common Error Messages

null

2 Test Cases Affected

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 checkbox Question Phone required and checkbox not required
Retry 1Initial Attempt
0% (0) 0 / 245 runs
failed over last 7 days
2.45% (6) 6 / 245 runs
flaked over last 7 days
Booking With Phone Question and Each Other Question Booking With Phone Question and Address Question Booking With Phone Question and Long text Question Phone required and Long text not required
Retry 1Initial Attempt
0% (0) 0 / 245 runs
failed over last 7 days
5.31% (13) 13 / 245 runs
flaked over last 7 days

📄   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
3.70% (9) 9 / 243 runs
failed over last 7 days
38.27% (93) 93 / 243 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 1Initial Attempt
31% (71) 71 / 229 runs
failed over last 7 days
33.62% (77) 77 / 229 runs
flaked over last 7 days

📄   apps/web/playwright/booking/availability.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Check availability tab in a event-type Check availability in event type
Retry 1Initial Attempt
18% (45) 45 / 250 runs
failed over last 7 days
43.20% (108) 108 / 250 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
Webhook tests BOOKING_REJECTED can book an event that requires confirmation and then that booking can be rejected by organizer
Retry 1Initial Attempt
0% (0) 0 / 60 runs
failed over last 7 days
3.33% (2) 2 / 60 runs
flaked over last 7 days

📄   apps/web/playwright/organization/organization-invitation.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Organization Email not matching orgAutoAcceptEmail Team invitation
Retry 1Initial Attempt
3.59% (9) 9 / 251 runs
failed over last 7 days
17.53% (44) 44 / 251 runs
flaked over last 7 days

📄   apps/web/playwright/organization/across-org/across-org.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
user1NotMemberOfOrg1 is part of team1MemberOfOrg1 EventTypes listing should show correct link for user events and team1MemberOfOrg1's events
Retry 1Initial Attempt
0.40% (1) 1 / 253 run
failed over last 7 days
11.07% (28) 28 / 253 runs
flaked over last 7 days

📄   apps/web/playwright/booking/multipleEmailQuestion.e2e.ts • 2 Flakes

Top 1 Common Error Messages

null

2 Test Cases Affected

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Booking With Multiple Email Question and Each Other Question Booking With Multiple Email Question and checkbox group Question Multiple Email and checkbox group not required
Retry 1Initial Attempt
3.09% (8) 8 / 259 runs
failed over last 7 days
2.70% (7) 7 / 259 runs
flaked over last 7 days
Booking With Multiple Email Question and Each Other Question Booking With Multiple Email Question and Number Question Multiple Email required and Number required
Retry 1Initial Attempt
0% (0) 0 / 249 runs
failed over last 7 days
2.01% (5) 5 / 249 runs
flaked 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 Multi email Question Address and Multi email not required
Retry 1Initial Attempt
0% (0) 0 / 257 runs
failed over last 7 days
3.50% (9) 9 / 257 runs
flaked over last 7 days

📄   packages/app-store/routing-forms/playwright/tests/basic.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Routing Forms Seeded Routing Form Routing Link should validate fields
Retry 1Initial Attempt
0.75% (2) 2 / 266 runs
failed over last 7 days
9.40% (25) 25 / 266 runs
flaked over last 7 days

View Detailed Build Results


deploysentinel[bot] avatar Nov 27 '23 23:11 deploysentinel[bot]

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

gitstart-app[bot] avatar Nov 28 '23 17:11 gitstart-app[bot]

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

gitstart-app[bot] avatar Nov 28 '23 19:11 gitstart-app[bot]

This PR is being marked as stale due to inactivity.

github-actions[bot] avatar Dec 16 '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 24 '23 00:12 github-actions[bot]

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

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

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

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

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jan 24 '24 03:01 CLAassistant

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Hi @keithwillcode, we provided the change, now everything is working correctly, also we used this PR to provide the requested changes here

gitstart-calcom avatar Jan 28 '24 22:01 gitstart-calcom