privacy: VideoPrivacy.PUBLIC,
commentsEnabled: true,
channel: {
- name: 'Main root channel',
+ displayName: 'Main root channel',
+ name: 'root_channel',
description: '',
isLocal: true
},
duration: 5,
commentsEnabled: false,
channel: {
- name: 'Main root channel',
+ name: 'root_channel',
+ displayName: 'Main root channel',
description: '',
isLocal: true
},
})
it('Should have the views updated', async function () {
- this.timeout(10000)
+ this.timeout(20000)
await viewVideo(server.url, videoId)
await viewVideo(server.url, videoId)
await viewVideo(server.url, videoId)
await viewVideo(server.url, videoId)
+ // Wait the repeatable job
+ await wait(8000)
+
const res = await getVideo(server.url, videoId)
const video = res.body