mirror of
https://github.com/immich-app/immich.git
synced 2025-07-07 09:12:56 +02:00
feat(server): e2e for missing jobs (#15910)
* feat: test face detection * Add duplicate and smart search fixes and tests * do e2e instead * Remove ML e2e jobs
This commit is contained in:
parent
3b0af1c8a9
commit
22d348beca
4 changed files with 156 additions and 16 deletions
e2e/src
|
@ -28,6 +28,7 @@ import {
|
|||
deleteAssets,
|
||||
getAllJobsStatus,
|
||||
getAssetInfo,
|
||||
getConfig,
|
||||
getConfigDefaults,
|
||||
login,
|
||||
scanLibrary,
|
||||
|
@ -121,6 +122,7 @@ const execPromise = promisify(exec);
|
|||
const onEvent = ({ event, id }: { event: EventType; id: string }) => {
|
||||
// console.log(`Received event: ${event} [id=${id}]`);
|
||||
const set = events[event];
|
||||
|
||||
set.add(id);
|
||||
|
||||
const idCallback = idCallbacks[id];
|
||||
|
@ -415,6 +417,8 @@ export const utils = {
|
|||
rmSync(path, { recursive: true });
|
||||
},
|
||||
|
||||
getSystemConfig: (accessToken: string) => getConfig({ headers: asBearerAuth(accessToken) }),
|
||||
|
||||
getAssetInfo: (accessToken: string, id: string) => getAssetInfo({ id }, { headers: asBearerAuth(accessToken) }),
|
||||
|
||||
checkExistingAssets: (accessToken: string, checkExistingAssetsDto: CheckExistingAssetsDto) =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue