feat(server): library refresh go brrr #28143
Annotations
9 errors
Run e2e tests (api & cli):
e2e/src/api/specs/library.e2e-spec.ts#L275
AssertionError: expected 404 to be 401 // Object.is equality
- Expected
+ Received
- 401
+ 404
❯ src/api/specs/library.e2e-spec.ts:275:22
|
Run e2e tests (api & cli):
e2e/src/api/specs/library.e2e-spec.ts#L467
AssertionError: expected 1 to be +0 // Object.is equality
- Expected
+ Received
- 0
+ 1
❯ src/api/specs/library.e2e-spec.ts:467:28
|
Run e2e tests (api & cli):
e2e/src/api/specs/library.e2e-spec.ts#L567
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ src/api/specs/library.e2e-spec.ts:567:38
|
Run e2e tests (api & cli):
e2e/src/api/specs/library.e2e-spec.ts#L602
AssertionError: expected { total: 2, count: 2, …(3) } to deeply equal { total: 2, count: 2, …(3) }
- Expected
+ Received
Object {
"count": 2,
"facets": Array [],
"items": Array [
Object {
"checksum": "M2FwQNSs1Ni7hYZDAvy1Fl9YXKs=",
"deviceAssetId": "assetB.png",
"deviceId": "Library Import",
"duplicateId": null,
"duration": "0:00:00.00000",
"fileCreatedAt": "1900-01-01T00:00:00.000Z",
"fileModifiedAt": "1900-01-01T00:00:00.000Z",
"hasMetadata": true,
"id": "c8f84a36-6091-4046-a8a8-0947afdc1f13",
"isArchived": false,
"isFavorite": false,
"isOffline": false,
"isTrashed": false,
"libraryId": "85346036-6e72-4291-a32f-f4e1038780af",
"livePhotoVideoId": null,
"localDateTime": "1900-01-01T00:00:00.000Z",
"originalFileName": "assetB.png",
"originalMimeType": "image/png",
"originalPath": "/test-assets/temp/directoryB/assetB.png",
"ownerId": "1f0621bf-b2a5-459a-8ca4-c082388bdc97",
"people": Array [],
"resized": true,
"thumbhash": null,
"type": "IMAGE",
- "updatedAt": "2024-12-18T10:39:48.633Z",
+ "updatedAt": "2024-12-18T10:39:48.861Z",
},
Object {
"checksum": "hNpZqb2K/xOq4imfDL1cjDcsFUc=",
"deviceAssetId": "assetA.png",
"deviceId": "Library Import",
"duplicateId": null,
"duration": "0:00:00.00000",
"fileCreatedAt": "1900-01-01T00:00:00.000Z",
"fileModifiedAt": "1900-01-01T00:00:00.000Z",
"hasMetadata": true,
"id": "92268eaa-9c48-43d2-b7a9-ec2b07aaa348",
"isArchived": false,
"isFavorite": false,
"isOffline": false,
"isTrashed": false,
"libraryId": "85346036-6e72-4291-a32f-f4e1038780af",
"livePhotoVideoId": null,
"localDateTime": "1900-01-01T00:00:00.000Z",
"originalFileName": "assetA.png",
"originalMimeType": "image/png",
"originalPath": "/test-assets/temp/directoryA/assetA.png",
"ownerId": "1f0621bf-b2a5-459a-8ca4-c082388bdc97",
"people": Array [],
"resized": true,
"thumbhash": null,
"type": "IMAGE",
- "updatedAt": "2024-12-18T10:39:48.633Z",
+ "updatedAt": "2024-12-18T10:39:48.859Z",
},
],
"nextPage": null,
"total": 2,
}
❯ src/api/specs/library.e2e-spec.ts:602:22
|
Run e2e tests (api & cli):
e2e/src/api/specs/library.e2e-spec.ts#L720
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ src/api/specs/library.e2e-spec.ts:720:43
|
Run e2e tests (api & cli):
e2e/src/api/specs/library.e2e-spec.ts#L784
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ src/api/specs/library.e2e-spec.ts:784:43
|
Run e2e tests (api & cli):
e2e/src/api/specs/trash.e2e-spec.ts#L106
Error: Error: 400
❯ Object.y [as ok] ../open-api/typescript-sdk/node_modules/@oazapfts/src/index.ts:71:9
❯ src/api/specs/trash.e2e-spec.ts:106:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 400, data: { message: 'Not found or no asset.read access', error: 'Bad Request', statusCode: 400, correlationId: 'anvt2psg' }, headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }
|
Run e2e tests (api & cli):
e2e/src/api/specs/trash.e2e-spec.ts#L228
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ src/api/specs/trash.e2e-spec.ts:228:31
|
Run e2e tests (api & cli)
Process completed with exit code 1.
|
Loading