fix: failing e2e tests

This commit is contained in:
bwees
2025-12-03 22:46:50 -06:00
parent 40326b434e
commit e144161d51
3 changed files with 5 additions and 2 deletions

View File

@@ -1116,7 +1116,7 @@ describe('/asset', () => {
expect(response.status).toBe(AssetMediaStatus.Created);
const id = response.id;
// longer timeout as the thumbnail generation from full-size raw files can take a while
await utils.waitForWebsocketEvent({ event: 'assetUpload', id });
await utils.waitForWebsocketEvent({ event: 'assetUpload', id, timeout: 20_000 });
const asset = await utils.getAssetInfo(admin.accessToken, id);
expect(asset.exifInfo).toBeDefined();