Skip to content

fix: Multiple rr-hosts combine to create erroneous availability #44784

fix: Multiple rr-hosts combine to create erroneous availability

fix: Multiple rr-hosts combine to create erroneous availability #44784

Triggered via pull request January 21, 2025 20:50
@emrysalemrysal
synchronize #18772
Status Failure
Total duration 8m 17s
Artifacts

pr.yml

on: pull_request_target
Detect changes
12s
Detect changes
Check for E2E label
1s
Check for E2E label
Install dependencies  /  Yarn install & cache
1m 46s
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 30s
Type check / check-types
Linters  /  lint
4m 22s
Linters / lint
Tests  /  Unit
2m 15s
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
3s
required
Publish HTML report  /  publish-report
Publish HTML report / publish-report
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
apps/web/test/lib/getSchedule.test.ts > getSchedule > Round robin lead skip(i.e. use contact owner specified by teamMemberEmail) - CRM > correctly get slots for event with only round robin hosts: apps/web/test/lib/getSchedule.test.ts#L149
Error: has incorrect timeslots for 2024-05-23. - Expected + Received Array [ + "2024-05-23T11:30:00.000Z", + "2024-05-23T12:30:00.000Z", + "2024-05-23T13:30:00.000Z", + "2024-05-23T14:30:00.000Z", + "2024-05-23T15:30:00.000Z", "2024-05-23T04:30:00.000Z", "2024-05-23T05:30:00.000Z", "2024-05-23T06:30:00.000Z", "2024-05-23T07:30:00.000Z", "2024-05-23T08:30:00.000Z", "2024-05-23T09:30:00.000Z", "2024-05-23T10:30:00.000Z", "2024-05-23T11:30:00.000Z", - "2024-05-23T12:30:00.000Z", - "2024-05-23T13:30:00.000Z", - "2024-05-23T14:30:00.000Z", - "2024-05-23T15:30:00.000Z", ] ❯ apps/web/test/lib/getSchedule.test.ts:149:39
apps/web/test/lib/getSchedule.test.ts > getSchedule > Round robin lead skip(i.e. use contact owner specified by teamMemberEmail) - CRM > correctly get slots for event with round robin and fixed hosts: apps/web/test/lib/getSchedule.test.ts#L278
Error: has incorrect timeslots for 2024-05-23. - Expected + Received Array [ "2024-05-23T07:30:00.000Z", "2024-05-23T08:30:00.000Z", "2024-05-23T09:30:00.000Z", "2024-05-23T10:30:00.000Z", "2024-05-23T11:30:00.000Z", + "2024-05-23T11:30:00.000Z", "2024-05-23T12:30:00.000Z", "2024-05-23T13:30:00.000Z", ] ❯ apps/web/test/lib/getSchedule.test.ts:278:37
apps/web/test/lib/getSchedule.test.ts > getSchedule > Round robin lead skip(i.e. use contact owner specified by teamMemberEmail) - CRM > Negative case(i.e. skipContactOwner is true) - when teamMemberEmail is provided but not used: apps/web/test/lib/getSchedule.test.ts#L536
Error: has incorrect timeslots for 2024-05-23. - Expected + Received Array [ + "2024-05-23T11:30:00.000Z", + "2024-05-23T12:30:00.000Z", + "2024-05-23T13:30:00.000Z", + "2024-05-23T14:30:00.000Z", + "2024-05-23T15:30:00.000Z", "2024-05-23T04:30:00.000Z", "2024-05-23T05:30:00.000Z", "2024-05-23T06:30:00.000Z", "2024-05-23T07:30:00.000Z", "2024-05-23T08:30:00.000Z", "2024-05-23T09:30:00.000Z", "2024-05-23T10:30:00.000Z", "2024-05-23T11:30:00.000Z", - "2024-05-23T12:30:00.000Z", - "2024-05-23T13:30:00.000Z", - "2024-05-23T14:30:00.000Z", - "2024-05-23T15:30:00.000Z", ] ❯ apps/web/test/lib/getSchedule.test.ts:536:49
apps/web/test/lib/getSchedule.test.ts > getSchedule > Team Event > correctly identifies unavailable slots from calendar for all users in Round Robin scheduling, considers bookings of users in other events as well: apps/web/test/lib/getSchedule.test.ts#L1975
Error: has incorrect timeslots for 2025-01-23. - Expected + Received Array [ + "2025-01-23T04:15:00.000Z", + "2025-01-23T05:00:00.000Z", + "2025-01-23T05:45:00.000Z", + "2025-01-23T06:30:00.000Z", + "2025-01-23T07:15:00.000Z", + "2025-01-23T08:00:00.000Z", + "2025-01-23T08:45:00.000Z", + "2025-01-23T09:30:00.000Z", + "2025-01-23T10:15:00.000Z", + "2025-01-23T11:00:00.000Z", + "2025-01-23T11:45:00.000Z", "2025-01-23T04:00:00.000Z", "2025-01-23T04:45:00.000Z", - "2025-01-23T05:30:00.000Z", - "2025-01-23T06:15:00.000Z", - "2025-01-23T07:00:00.000Z", - "2025-01-23T07:45:00.000Z", - "2025-01-23T08:30:00.000Z", - "2025-01-23T09:15:00.000Z", - "2025-01-23T10:00:00.000Z", - "2025-01-23T10:45:00.000Z", - "2025-01-23T11:30:00.000Z", + "2025-01-23T05:45:00.000Z", + "2025-01-23T06:30:00.000Z", + "2025-01-23T07:15:00.000Z", + "2025-01-23T08:00:00.000Z", + "2025-01-23T08:45:00.000Z", + "2025-01-23T09:30:00.000Z", + "2025-01-23T10:15:00.000Z", + "2025-01-23T11:00:00.000Z", + "2025-01-23T11:45:00.000Z", ] ❯ apps/web/test/lib/getSchedule.test.ts:1975:90
Tests / Unit
Process completed with exit code 1.
Linters / lint
Process completed with exit code 129.
required
Process completed with exit code 1.
Linters / lint
Failed to restore: aborted