- // Transcoding failed
- const video = await server.videos.get({ id: videoUUID })
- expect(video.files).to.have.lengthOf(1)
- expect(video.streamingPlaylists).to.have.lengthOf(0)
+ const videoUUID = (await server.videos.quickUpload({ name: 'video' })).uuid
+ await waitJobs([ server ])
+
+ // Transcoding failed
+ const video = await server.videos.get({ id: videoUUID })
+ expect(video.files).to.have.lengthOf(1)
+ expect(video.streamingPlaylists).to.have.lengthOf(0)
+ })