getVideoCommentThreads,
getVideoThreadComments
} from '../../../../shared/extra-utils/videos/video-comments'
+import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes'
const expect = chai.expect
for (let i = 0; i < 3; i++) {
await getVideo(servers[1].url, videoIdsServer1[i])
- await wait(1000)
await waitJobs([ servers[1] ])
+ await wait(1500)
}
for (const id of videoIdsServer1) {
- await getVideo(servers[1].url, id, 403)
+ await getVideo(servers[1].url, id, HttpStatusCode.FORBIDDEN_403)
}
})