Skip to content

feat: automatic no show #34186

feat: automatic no show

feat: automatic no show #34186

Triggered via pull request October 9, 2024 19:05
@zomarszomars
synchronize #16727
Status Failure
Total duration 21m 31s
Artifacts 10

pr.yml

on: pull_request_target
Detect changes
16s
Detect changes
Check for E2E label
3s
Check for E2E label
Install dependencies  /  Yarn install & cache
1m 40s
Install dependencies / Yarn install & cache
Analyze Build  /  analyze
1m 39s
Analyze Build / analyze
Matrix: Tests / e2e
Merge reports  /  merge-reports
2m 31s
Merge reports / merge-reports
required
4s
required
Publish HTML report  /  publish-report
59s
Publish HTML report / publish-report
Fit to window
Zoom out
Zoom in

Annotations

22 errors, 4 warnings, and 1 notice
packages/features/tasker/tasks/triggerNoShow/triggerHostNoShow.test.ts > Trigger Host No Show: > Should trigger host no show webhook when no one joined the call: packages/features/tasker/tasks/triggerNoShow/common.ts#L109
SyntaxError: Unexpected token o in JSON at position 1 ❯ Module.prepareNoShowTrigger packages/features/tasker/tasks/triggerNoShow/common.ts:109:77 ❯ Module.triggerHostNoShow packages/features/tasker/tasks/triggerNoShow/triggerHostNoShow.ts:37:24 ❯ packages/features/tasker/tasks/triggerNoShow/triggerHostNoShow.test.ts:144:13
packages/features/tasker/tasks/triggerNoShow/triggerHostNoShow.test.ts > Trigger Host No Show: > Should trigger host no show webhook when host didn't joined the call: packages/features/tasker/tasks/triggerNoShow/common.ts#L109
SyntaxError: Unexpected token o in JSON at position 1 ❯ Module.prepareNoShowTrigger packages/features/tasker/tasks/triggerNoShow/common.ts:109:77 ❯ Module.triggerHostNoShow packages/features/tasker/tasks/triggerNoShow/triggerHostNoShow.ts:37:24 ❯ packages/features/tasker/tasks/triggerNoShow/triggerHostNoShow.test.ts:294:13
packages/features/bookings/lib/handleNewBooking/test/fresh-booking.test.ts > handleNewBooking > Fresh/New Booking: > Event Type that requires confirmation > should create a booking request for event that requires confirmation 1. Should create a booking in the database with status PENDING 2. Should send emails to the booker as well as organizer for booking request and awaiting approval 3. Should trigger BOOKING_REQUESTED webhook : apps/web/test/utils/bookingScenario/expects.ts#L288
Error: Webhook not sent to http://my-webhook.example.com for BOOKING_REQUESTED. All webhooks: [] ❯ expectWebhookToHaveBeenCalledWith apps/web/test/utils/bookingScenario/expects.ts:288:11 ❯ Module.expectBookingRequestedWebhookToHaveBeenFired apps/web/test/utils/bookingScenario/expects.ts:927:5 ❯ packages/features/bookings/lib/handleNewBooking/test/fresh-booking.test.ts:1836:11
packages/features/bookings/lib/handleNewBooking/test/fresh-booking.test.ts > handleNewBooking > Fresh/New Booking: > Event Type that requires confirmation > should make a fresh booking in PENDING state even when the booker is the organizer of the event-type 1. Should create a booking in the database with status PENDING 2. Should send emails to the booker as well as organizer for booking request and awaiting approval 3. Should trigger BOOKING_REQUESTED webhook : apps/web/test/utils/bookingScenario/expects.ts#L288
Error: Webhook not sent to http://my-webhook.example.com for BOOKING_REQUESTED. All webhooks: [] ❯ expectWebhookToHaveBeenCalledWith apps/web/test/utils/bookingScenario/expects.ts:288:11 ❯ Module.expectBookingRequestedWebhookToHaveBeenFired apps/web/test/utils/bookingScenario/expects.ts:927:5 ❯ packages/features/bookings/lib/handleNewBooking/test/fresh-booking.test.ts:1961:11
packages/features/bookings/lib/handleNewBooking/test/fresh-booking.test.ts > handleNewBooking > Fresh/New Booking: > Event Type that requires confirmation > should create a booking for event that requires confirmation based on a booking notice duration threshold, if threshold IS MET 1. Should create a booking in the database with status PENDING 2. Should send emails to the booker as well as organizer for booking request and awaiting approval 3. Should trigger BOOKING_REQUESTED webhook : apps/web/test/utils/bookingScenario/expects.ts#L288
Error: Webhook not sent to http://my-webhook.example.com for BOOKING_REQUESTED. All webhooks: [] ❯ expectWebhookToHaveBeenCalledWith apps/web/test/utils/bookingScenario/expects.ts:288:11 ❯ Module.expectBookingRequestedWebhookToHaveBeenFired apps/web/test/utils/bookingScenario/expects.ts:927:5 ❯ packages/features/bookings/lib/handleNewBooking/test/fresh-booking.test.ts:2226:11
packages/features/bookings/lib/handleNewBooking/test/fresh-booking.test.ts > handleNewBooking > Fresh/New Booking: > Paid Events > Event Type that doesn't require confirmation 1. Should create a booking in the database with status PENDING 2. Should send email to the booker for Payment request 3. Should trigger BOOKING_PAYMENT_INITIATED webhook 4. Once payment is successful, should trigger BOOKING_CREATED webhook 5. Workflow should not trigger before payment is made 6. Workflow triggers once payment is successful : apps/web/test/utils/bookingScenario/expects.ts#L288
Error: Webhook not sent to http://my-webhook.example.com for BOOKING_PAYMENT_INITIATED. All webhooks: [] ❯ expectWebhookToHaveBeenCalledWith apps/web/test/utils/bookingScenario/expects.ts:288:11 ❯ Module.expectBookingPaymentIntiatedWebhookToHaveBeenFired apps/web/test/utils/bookingScenario/expects.ts:1153:3 ❯ packages/features/bookings/lib/handleNewBooking/test/fresh-booking.test.ts:2555:11
packages/features/bookings/lib/handleNewBooking/test/fresh-booking.test.ts > handleNewBooking > Fresh/New Booking: > Paid Events > Event Type that requires confirmation 1. Should create a booking in the database with status PENDING 2. Should send email to the booker for Payment request 3. Should trigger BOOKING_PAYMENT_INITIATED webhook 4. Once payment is successful, should trigger BOOKING_REQUESTED webhook 5. Booking should still stay in pending state : apps/web/test/utils/bookingScenario/expects.ts#L288
Error: Webhook not sent to http://my-webhook.example.com for BOOKING_PAYMENT_INITIATED. All webhooks: [] ❯ expectWebhookToHaveBeenCalledWith apps/web/test/utils/bookingScenario/expects.ts:288:11 ❯ Module.expectBookingPaymentIntiatedWebhookToHaveBeenFired apps/web/test/utils/bookingScenario/expects.ts:1153:3 ❯ packages/features/bookings/lib/handleNewBooking/test/fresh-booking.test.ts:2717:11
packages/features/bookings/lib/handleNewBooking/test/reschedule.test.ts > handleNewBooking > Reschedule > User event-type > should rechedule an existing booking successfully with Cal Video(Daily Video) 1. Should cancel the existing booking 2. Should create a new booking in the database 3. Should send emails to the booker as well as organizer 4. Should trigger BOOKING_RESCHEDULED webhook : apps/web/test/utils/bookingScenario/expects.ts#L288
Error: Webhook not sent to http://my-webhook.example.com for BOOKING_RESCHEDULED. All webhooks: [] ❯ expectWebhookToHaveBeenCalledWith apps/web/test/utils/bookingScenario/expects.ts:288:11 ❯ Module.expectBookingRescheduledWebhookToHaveBeenFired apps/web/test/utils/bookingScenario/expects.ts:1086:3 ❯ packages/features/bookings/lib/handleNewBooking/test/reschedule.test.ts:289:11
packages/features/bookings/lib/handleNewBooking/test/reschedule.test.ts > handleNewBooking > Reschedule > User event-type > should reschedule a booking successfully and update the event in the same externalCalendarId as was used in the booking earlier. 1. Should cancel the existing booking 2. Should create a new booking in the database 3. Should send emails to the booker as well as organizer 4. Should trigger BOOKING_RESCHEDULED webhook : apps/web/test/utils/bookingScenario/expects.ts#L288
Error: Webhook not sent to http://my-webhook.example.com for BOOKING_RESCHEDULED. All webhooks: [] ❯ expectWebhookToHaveBeenCalledWith apps/web/test/utils/bookingScenario/expects.ts:288:11 ❯ Module.expectBookingRescheduledWebhookToHaveBeenFired apps/web/test/utils/bookingScenario/expects.ts:1086:3 ❯ packages/features/bookings/lib/handleNewBooking/test/reschedule.test.ts:506:11
packages/features/bookings/lib/handleNewBooking/test/reschedule.test.ts > handleNewBooking > Reschedule > User event-type > an error in updating a calendar event should not stop the rescheduling - Current behaviour is wrong as the booking is resheduled but no-one is notified of it: apps/web/test/utils/bookingScenario/expects.ts#L288
Error: Webhook not sent to http://my-webhook.example.com for BOOKING_RESCHEDULED. All webhooks: [] ❯ expectWebhookToHaveBeenCalledWith apps/web/test/utils/bookingScenario/expects.ts:288:11 ❯ Module.expectBookingRescheduledWebhookToHaveBeenFired apps/web/test/utils/bookingScenario/expects.ts:1086:3 ❯ packages/features/bookings/lib/handleNewBooking/test/reschedule.test.ts:680:11
Linters / lint
Process completed with exit code 1.
Production builds / Web App
Unused '@ts-expect-error' directive.
Production builds / Web App
Unused '@ts-expect-error' directive.
Production builds / Web App
Unused '@ts-expect-error' directive.
Production builds / Web App
Unused '@ts-expect-error' directive.
Production builds / Web App
Type 'Mock<(key: string) => string>' is not assignable to type 'TFunction<string, undefined>'.
Production builds / Web App
Type 'Mock<(key: string) => string>' is not assignable to type 'TFunction<string, undefined>'.
Production builds / Web App
Type 'Mock<(key: string) => string>' is not assignable to type 'TFunction<string, undefined>'.
Production builds / Web App
Type 'Mock<(key: string) => string>' is not assignable to type 'TFunction<string, undefined>'.
Production builds / Web App
Type 'Mock<(key: string) => string>' is not assignable to type 'TFunction<string, undefined>'.
Production builds / Web App
Type 'Mock<(key: string) => string>' is not assignable to type 'TFunction<string, undefined>'.
required
Process completed with exit code 1.
Tests / Unit
This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version 2.319.1. Please update to the latest version 2.320.0
Tests / E2E API v2
No files were found with the provided path: test-results. No artifacts will be uploaded.
required
This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version 2.319.1. Please update to the latest version 2.320.0
Publish HTML report / publish-report
The following actions use a deprecated Node.js version and will be forced to run on node20: peter-evans/find-comment@v2, peter-evans/create-or-update-comment@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
📋 Published Playwright Test Report
https://calcom.github.io/test-results/reports/feat/automatic-no-show/11261433763/1

Artifacts

Produced during runtime
Name Size
blob-report-1
150 KB
blob-report-2
130 KB
blob-report-3
191 KB
blob-report-4
124 KB
blob-report-app-store
1.48 MB
blob-report-embed-core
48.1 KB
blob-report-embed-react
4.74 KB
bundle
2.33 KB
html-report--attempt-34186-1
2.4 MB
lint-results
61.4 KB