feat: Mark people as favorite #29874
test.yml
on: pull_request
pre-job
4s
ShellCheck
11s
OpenAPI Clients
1m 14s
TypeORM Checks
1m 29s
Test & Lint Server
2m 17s
Unit Test CLI
25s
Unit Test CLI (Windows)
36s
Test & Lint Web
5m 2s
End-to-End Lint
0s
Medium Tests (Server)
2m 1s
End-to-End Tests (Server & CLI)
3m 26s
End-to-End Tests (Web)
4m 0s
Unit Test Mobile
1m 30s
Unit Test ML
0s
Annotations
6 errors
OpenAPI Clients
Process completed with exit code 1.
|
TypeORM Checks
Process completed with exit code 1.
|
src/api/specs/library.e2e-spec.ts > /libraries > POST /libraries/:id/scan > should not reimport unmodified files:
e2e/src/api/specs/library.e2e-spec.ts#L575
AssertionError: expected { …(29) } to deeply equal ObjectContaining{…}
- Expected
+ Received
- ObjectContaining {
- "exifInfo": ObjectNotContaining {
+ {
+ "checksum": "e+1K1i6yDyWdmcz0axD1ZVODMDk=",
+ "deviceAssetId": "asset.jpg",
+ "deviceId": "Library Import",
+ "duplicateId": null,
+ "duration": "0:00:00.00000",
+ "exifInfo": {
+ "city": null,
+ "country": null,
+ "dateTimeOriginal": "2023-09-25T08:33:30.88+00:00",
+ "description": "Fall 2023 Week 3",
+ "exifImageHeight": 534,
+ "exifImageWidth": 800,
+ "exposureTime": "1/15",
+ "fNumber": 22,
+ "fileSizeInByte": 70,
+ "focalLength": 35,
+ "iso": 1000,
+ "latitude": null,
+ "lensModel": null,
+ "longitude": null,
+ "make": "NIKON CORPORATION",
"model": "NIKON D750",
+ "modifyDate": "2023-09-27T12:30:43+00:00",
+ "orientation": "1",
+ "projectionType": null,
+ "rating": null,
+ "state": null,
+ "timeZone": null,
},
+ "fileCreatedAt": "2023-09-25T08:33:30.880Z",
+ "fileModifiedAt": "1984-03-10T14:00:00.000Z",
+ "hasMetadata": true,
+ "id": "0bb3cec1-6b62-40fb-9299-11543e04491d",
+ "isArchived": false,
+ "isFavorite": false,
+ "isOffline": false,
+ "isTrashed": false,
+ "libraryId": "67e402c2-e9c0-4820-9d9b-420c0b2c22fa",
+ "livePhotoVideoId": null,
+ "localDateTime": "2023-09-25T08:33:30.880Z",
"originalFileName": "asset.jpg",
+ "originalMimeType": "image/jpeg",
+ "originalPath": "/test-assets/temp/reimport/asset.jpg",
+ "owner": {
+ "avatarColor": "orange",
+ "email": "[email protected]",
+ "id": "2f58fa06-0fe6-4d02-8850-db8cef12ab83",
+ "name": "Immich Admin",
+ "profileChangedAt": "2025-01-28T19:05:41.329698+00:00",
+ "profileImagePath": "",
+ },
+ "ownerId": "2f58fa06-0fe6-4d02-8850-db8cef12ab83",
+ "people": [],
+ "resized": true,
+ "stack": null,
+ "tags": [
+ {
+ "createdAt": "2025-01-28T19:05:50.193588+00:00",
+ "id": "79d9fdcc-366f-430e-aa7d-3b300f7c4b8d",
+ "name": "Big Meadows",
+ "updatedAt": "2025-01-28T19:05:50.415014+00:00",
+ "value": "Big Meadows",
+ },
+ {
+ "createdAt": "2025-01-28T19:05:50.207904+00:00",
+ "id": "183dfb4f-93e0-4c8e-b96b-8c16ebf9495b",
+ "name": "Fall 2023",
+ "updatedAt": "2025-01-28T19:05:50.42184+00:00",
+ "value": "Fall 2023",
+ },
+ {
+ "createdAt": "2025-01-28T19:05:50.210916+00:00",
+ "id": "57bc224a-7975-4a1c-9457-0dac89a81cbf",
+ "name": "Lara Ellis Photography",
+ "updatedAt": "2025-01-28T19:05:50.423701+00:00",
+ "value": "Lara Ellis Photography",
+ },
+ {
+ "createdAt": "2025-01-28T19:05:50.213312+00:00",
+ "id": "179bb2fa-0c39-4d2e-87a9-7652c48c854d",
+ "name": "Shenandoah National Park",
+ "updatedAt": "2025-01-28T19:05:50.425541+00:00",
+ "value": "Shenandoah National Park",
+ },
+ ],
+ "thumbhash": "4QgWRYSIeHh/d3dpd1iHlnZwaAan",
+ "type": "IMAGE",
+ "updatedAt": "2025-01-28T19:05:50.470Z",
}
❯ src/api/specs/library.e2e-spec.ts:575:21
|
src/api/specs/library.e2e-spec.ts > /libraries > POST /libraries/:id/scan > should set an asset offline if its file is covered by an exclusion pattern:
e2e/src/api/specs/library.e2e-spec.ts#L686
AssertionError: expected [ { …(25) }, { …(25) } ] to deeply equal [ ObjectContaining{…} ]
- Expected
+ Received
[
ObjectContaining {
"originalFileName": "assetA.png",
},
+ {
+ "checksum": "e+1K1i6yDyWdmcz0axD1ZVODMDk=",
+ "deviceAssetId": "asset.jpg",
+ "deviceId": "Library Import",
+ "duplicateId": null,
+ "duration": "0:00:00.00000",
+ "fileCreatedAt": "2023-09-25T08:33:30.880Z",
+ "fileModifiedAt": "1984-03-10T14:00:00.000Z",
+ "hasMetadata": true,
+ "id": "15377d05-834d-4c6f-a7af-d630da5241ef",
+ "isArchived": false,
+ "isFavorite": false,
+ "isOffline": false,
+ "isTrashed": false,
+ "libraryId": "49b7a714-13c6-44c7-96b3-e33e85e0d409",
+ "livePhotoVideoId": null,
+ "localDateTime": "2023-09-25T08:33:30.880Z",
+ "originalFileName": "asset.jpg",
+ "originalMimeType": "image/jpeg",
+ "originalPath": "/test-assets/temp/reimport/asset.jpg",
+ "ownerId": "2f58fa06-0fe6-4d02-8850-db8cef12ab83",
+ "people": [],
+ "resized": true,
+ "thumbhash": "4QgWRYSIeHh/d3dpd1iHlnZwaAan",
+ "type": "IMAGE",
+ "updatedAt": "2025-01-28T19:05:51.482Z",
+ },
]
❯ src/api/specs/library.e2e-spec.ts:686:31
|
End-to-End Tests (Server & CLI)
Process completed with exit code 1.
|
End-to-End Tests (Web)
Process completed with exit code 1.
|