Skip to content

feat: cal video no show workflow triggers #42794

feat: cal video no show workflow triggers

feat: cal video no show workflow triggers #42794

Triggered via pull request January 2, 2025 18:09
@Udit-takkarUdit-takkar
synchronize #18373
Status Failure
Total duration 7m 30s
Artifacts 1

pr.yml

on: pull_request_target
Detect changes
22s
Detect changes
Check for E2E label
2s
Check for E2E label
Install dependencies  /  Yarn install & cache
1m 47s
Install dependencies / Yarn install & cache
Production builds  /  Build Web App
Production builds / Build Web App
Production builds  /  Build API v1
Production builds / Build API v1
Production builds  /  Build API v2
Production builds / Build API v2
Type check  /  check-types
2m 34s
Type check / check-types
Linters  /  lint
2m 12s
Linters / lint
Tests  /  Unit
2m 8s
Tests / Unit
Production builds  /  Build Atoms
Production builds / Build Atoms
Production builds  /  Build Docs
Production builds / Build Docs
Analyze Build  /  analyze
Analyze Build / analyze
Matrix: Tests / e2e
Waiting for pending jobs
Tests  /  E2E App Store
Tests / E2E App Store
Tests  /  E2E Embed Core
Tests / E2E Embed Core
Tests  /  E2E Embed React
Tests / E2E Embed React
Tests  /  E2E API v2
Tests / E2E API v2
Tests  /  Integration
Tests / Integration
Merge reports  /  merge-reports
Merge reports / merge-reports
required
4s
required
Publish HTML report  /  publish-report
Publish HTML report / publish-report
Fit to window
Zoom out
Zoom in

Annotations

5 errors
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_CREATED. All webhooks: [["http://my-webhook.example.com",{"method":"POST","headers":{"Content-Type":"application/json","X-Cal-Signature-256":"no-secret-provided"},"redirect":"manual","body":"{\"triggerEvent\":\"BOOKING_PAYMENT_INITIATED\",\"createdAt\":\"2025-01-02T18:14:38.524Z\",\"payload\":{\"bookerUrl\":\"https://cal.com\",\"type\":\"base-event-type-slug\",\"title\":\"event_between_users\",\"description\":\"It's a test event type - 1\",\"additionalNotes\":\"\",\"customInputs\":{},\"startTime\":\"2025-01-03T04:00:00Z\",\"endTime\":\"2025-01-03T04:30:00Z\",\"organizer\":{\"id\":101,\"name\":\"Organizer\",\"email\":\"[email protected]\",\"username\":\"example.username\",\"timeZone\":\"Asia/Kolkata\",\"language\":{\"locale\":\"en\"},\"timeFormat\":\"h:mma\",\"utcOffset\":330},\"responses\":{\"name\":{\"label\":\"your_name\",\"value\":\"Booker\",\"isHidden\":false},\"email\":{\"label\":\"email_address\",\"value\":\"[email protected]\",\"isHidden\":false},\"location\":{\"label\":\"location\",\"value\":{\"value\":\"integrations:daily\",\"optionValue\":\"\"},\"isHidden\":false},\"title\":{\"label\":\"what_is_this_meeting_about\",\"isHidden\":true},\"notes\":{\"label\":\"additional_notes\",\"isHidden\":false},\"guests\":{\"label\":\"additional_guests\",\"isHidden\":false},\"rescheduleReason\":{\"label\":\"reason_for_reschedule\",\"isHidden\":false}},\"userFieldsResponses\":{\"title\":{\"label\":\"what_is_this_meeting_about\",\"isHidden\":true}},\"attendees\":[{\"email\":\"[email protected]\",\"name\":\"Booker\",\"firstName\":\"\",\"lastName\":\"\",\"timeZone\":\"Asia/Kolkata\",\"language\":{\"locale\":\"en\"},\"utcOffset\":330}],\"location\":\"integrations:daily\",\"destinationCalendar\":null,\"hideCalendarNotes\":false,\"hideCalendarEventDetails\":false,\"requiresConfirmation\":true,\"eventTypeId\":1,\"seatsShowAttendees\":true,\"seatsPerTimeSlot\":null,\"seatsShowAvailabilityCount\":true,\"schedulingType\":null,\"iCalUID\":\"[email protected]\",\"iCalSequence\":0,\"oneTimePassword\":\"cdeccbb4-2986-43a3-b755-fc8795c28a84\",\"uid\":\"1iwtaJck7Hsbr8CzseEHrn\",\"eventTitle\":\"Test Event Type - 1\",\"eventDescription\":\"It's a test event type - 1\",\"price\":100,\"currency\":\"usd\",\"length\":30,\"bookingId\":1,\"metadata\":{},\"status\":\"ACCEPTED\",\"paymentId\":1}}"}]] ❯ expectWebhookToHaveBeenCalledWith apps/web/test/utils/bookingScenario/expects.ts:288:11 ❯ Module.expectBookingCreatedWebhookToHaveBeenFired apps/web/test/utils/bookingScenario/expects.ts:1039:5 ❯ packages/features/bookings/lib/handleNewBooking/test/fresh-booking.test.ts:2838:11
Tests / Unit
Process completed with exit code 1.
Linters / lint
Process completed with exit code 1.
Type check / check-types
Process completed with exit code 2.
required
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
lint-results
503 KB