Skip to content

refactor: change deprecated place field name openingHours to `regul… #723

refactor: change deprecated place field name openingHours to `regul…

refactor: change deprecated place field name openingHours to `regul… #723

Triggered via push April 5, 2024 16:13
Status Failure
Total duration 58s
Artifacts

e2e.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
test-e2e: src/place_building_blocks/place_field_boolean/place_field_boolean.ts#L198
Type '"regularOpeningHours"' is not assignable to type 'keyof Place'.
test-e2e: src/place_building_blocks/place_field_boolean/place_field_boolean_test.ts#L70
Argument of type '{ id: string; hasCurbsidePickup: true; hasDelivery: true; hasDineIn: true; hasTakeout: true; accessibilityOptions: { hasWheelchairAccessibleEntrance: true; }; isReservable: true; servesBeer: true; ... 9 more ...; isOpen: () => Promise<...>; }' is not assignable to parameter of type 'Pick<Place, "id"> & Partial<Place>'.
test-e2e: src/place_building_blocks/place_field_boolean/place_field_boolean_test.ts#L105
Argument of type '{ id: string; hasCurbsidePickup: false; hasDelivery: false; hasDineIn: false; hasTakeout: false; accessibilityOptions: { hasWheelchairAccessibleEntrance: false; }; isReservable: false; servesBeer: false; ... 9 more ...; isOpen: () => Promise<...>; }' is not assignable to parameter of type 'Pick<Place, "id"> & Partial<Place>'.
test-e2e: src/place_building_blocks/place_field_boolean/place_field_boolean_test.ts#L140
Argument of type '{ id: string; hasCurbsidePickup: null; hasDelivery: null; hasDineIn: null; hasTakeout: null; accessibilityOptions: { hasWheelchairAccessibleEntrance: null; }; isReservable: null; servesBeer: null; ... 9 more ...; isOpen: () => Promise<...>; }' is not assignable to parameter of type 'Pick<Place, "id"> & Partial<Place>'.
test-e2e: src/place_building_blocks/place_field_boolean/place_field_boolean_test.ts#L247
Argument of type '{ id: string; businessStatus: google.maps.places.BusinessStatus; regularOpeningHours: { periods: never[]; weekdayDescriptions: never[]; }; utcOffsetMinutes: number; isOpen: () => Promise<true>; }' is not assignable to parameter of type 'Pick<Place, "id"> & Partial<Place>'.
test-e2e: src/place_building_blocks/place_field_boolean/place_field_boolean_test.ts#L277
Argument of type '{ id: string; regularOpeningHours: { periods: never[]; weekdayDescriptions: never[]; }; isOpen: jasmine.Spy<jasmine.Func>; }' is not assignable to parameter of type 'Pick<Place, "id"> & Partial<Place>'.
test-e2e: src/place_building_blocks/place_field_boolean/place_field_boolean_test.ts#L289
Argument of type '{ id: string; businessStatus: google.maps.places.BusinessStatus; regularOpeningHours: { periods: never[]; weekdayDescriptions: never[]; }; isOpen: jasmine.Spy<jasmine.Func>; }' is not assignable to parameter of type 'Pick<Place, "id"> & Partial<Place>'.
test-e2e: src/place_building_blocks/place_field_boolean/place_field_boolean_test.ts#L311
Argument of type '{ id: string; businessStatus: google.maps.places.BusinessStatus; regularOpeningHours: { periods: never[]; weekdayDescriptions: never[]; }; utcOffsetMinutes: number; isOpen: jasmine.Spy<jasmine.Func>; }' is not assignable to parameter of type 'Pick<Place, "id"> & Partial<Place>'.
test-e2e: src/place_building_blocks/place_field_boolean/place_field_boolean_test.ts#L350
Argument of type '{ id: string; businessStatus: google.maps.places.BusinessStatus; regularOpeningHours: { periods: never[]; weekdayDescriptions: never[]; }; utcOffsetMinutes: number; }' is not assignable to parameter of type 'Pick<Place, "id"> & Partial<Place>'.
test-e2e: src/place_building_blocks/place_opening_hours/place_opening_hours.ts#L119
Property 'regularOpeningHours' does not exist on type 'Place'.
test-e2e
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-e2e
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.