Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix user notification test

Chocobozzz9f39c5466ea6
diff --git a/server/tests/api/notifications/user-notifications.ts b/server/tests/api/notifications/user-notifications.ts
index a0d5a1fddb..6a65447fde 100644
--- a/server/tests/api/notifications/user-notifications.ts
+++ b/server/tests/api/notifications/user-notifications.ts
@@ -163,7 +163,7 @@ describe('Test user notifications', function () {
await updateVideo(servers[0].url, servers[0].accessToken, uuid, { privacy: VideoPrivacy.PUBLIC })
- await wait(500)
+ await waitJobs(servers)
await checkNewVideoFromSubscription(baseParams, name, uuid, 'presence')
})