From 07b1a18aa678d260009a93e36606c5c5f585723d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 28 Feb 2019 11:14:26 +0100 Subject: Add playlist check param tests --- server/tests/api/check-params/video-playlists.ts | 780 ++++++++++++++++++++++- server/tests/api/check-params/videos-filter.ts | 33 +- server/tests/api/redundancy/redundancy.ts | 14 +- 3 files changed, 799 insertions(+), 28 deletions(-) (limited to 'server/tests') diff --git a/server/tests/api/check-params/video-playlists.ts b/server/tests/api/check-params/video-playlists.ts index 7004badac..68fe362e9 100644 --- a/server/tests/api/check-params/video-playlists.ts +++ b/server/tests/api/check-params/video-playlists.ts @@ -1,35 +1,35 @@ /* tslint:disable:no-unused-expression */ -import { omit } from 'lodash' import 'mocha' -import { join } from 'path' -import { VideoPrivacy } from '../../../../shared/models/videos/video-privacy.enum' import { createUser, + createVideoPlaylist, + deleteVideoPlaylist, flushTests, - getMyUserInformation, + getVideoPlaylist, immutableAssign, killallServers, makeGetRequest, - makePostBodyRequest, - makeUploadRequest, runServer, ServerInfo, setAccessTokensToServers, - updateCustomSubConfig, - userLogin + updateVideoPlaylist, + userLogin, + addVideoInPlaylist, uploadVideo, updateVideoPlaylistElement, removeVideoFromPlaylist, reorderVideosPlaylist } from '../../../../shared/utils' import { checkBadCountPagination, checkBadSortPagination, checkBadStartPagination } from '../../../../shared/utils/requests/check-api-params' -import { getMagnetURI, getYoutubeVideoUrl } from '../../../../shared/utils/videos/video-imports' +import { VideoPlaylistPrivacy } from '../../../../shared/models/videos/playlist/video-playlist-privacy.model' describe('Test video playlists API validator', function () { - const path = '/api/v1/videos/video-playlists' let server: ServerInfo let userAccessToken = '' + let playlistUUID: string + let videoId: number + let videoId2: number // --------------------------------------------------------------- @@ -46,9 +46,31 @@ describe('Test video playlists API validator', function () { const password = 'my super password' await createUser(server.url, server.accessToken, username, password) userAccessToken = await userLogin(server, { username, password }) + + { + const res = await uploadVideo(server.url, server.accessToken, { name: 'video 1' }) + videoId = res.body.video.id + } + + { + const res = await uploadVideo(server.url, server.accessToken, { name: 'video 2' }) + videoId2 = res.body.video.id + } + + { + const res = await createVideoPlaylist({ + url: server.url, + token: server.accessToken, + playlistAttrs: { + displayName: 'super playlist', + privacy: VideoPlaylistPrivacy.PUBLIC + } + }) + playlistUUID = res.body.videoPlaylist.uuid + } }) - describe('When listing video playlists', function () { + describe('When listing playlists', function () { const globalPath = '/api/v1/video-playlists' const accountPath = '/api/v1/accounts/root/video-playlists' const videoChannelPath = '/api/v1/video-channels/root_channel/video-playlists' @@ -90,7 +112,7 @@ describe('Test video playlists API validator', function () { }) }) - describe('When listing videos of a playlist', async function () { + describe('When listing videos of a playlist', function () { const path = '/api/v1/video-playlists' it('Should fail with a bad start pagination', async function () { @@ -101,11 +123,743 @@ describe('Test video playlists API validator', function () { await checkBadCountPagination(server.url, path, server.accessToken) }) - it('Should fail with an incorrect sort', async function () { + it('Should fail with a bad filter', async function () { await checkBadSortPagination(server.url, path, server.accessToken) }) }) + describe('When getting a video playlist', function () { + it('Should fail with a bad id or uuid', async function () { + await getVideoPlaylist(server.url, 'toto', 400) + }) + + it('Should fail with an unknown playlist', async function () { + await getVideoPlaylist(server.url, 42, 404) + }) + + it('Should fail to get an unlisted playlist with the number id', async function () { + const res = await createVideoPlaylist({ + url: server.url, + token: server.accessToken, + playlistAttrs: { + displayName: 'super playlist', + privacy: VideoPlaylistPrivacy.UNLISTED + } + }) + const playlist = res.body.videoPlaylist + + await getVideoPlaylist(server.url, playlist.id, 404) + await getVideoPlaylist(server.url, playlist.uuid, 200) + }) + + it('Should succeed with the correct params', async function () { + await getVideoPlaylist(server.url, playlistUUID, 200) + }) + }) + + describe('When creating/updating a video playlist', function () { + + it('Should fail with an unauthenticated user', async function () { + const baseParams = { + url: server.url, + token: null, + playlistAttrs: { + displayName: 'super playlist', + privacy: VideoPlaylistPrivacy.PUBLIC + }, + expectedStatus: 401 + } + + await createVideoPlaylist(baseParams) + await updateVideoPlaylist(immutableAssign(baseParams, { playlistId: playlistUUID })) + }) + + it('Should fail without displayName', async function () { + const baseParams = { + url: server.url, + token: server.accessToken, + playlistAttrs: { + privacy: VideoPlaylistPrivacy.PUBLIC + } as any, + expectedStatus: 400 + } + + await createVideoPlaylist(baseParams) + await updateVideoPlaylist(immutableAssign(baseParams, { playlistId: playlistUUID })) + }) + + it('Should fail with an incorrect display name', async function () { + const baseParams = { + url: server.url, + token: server.accessToken, + playlistAttrs: { + displayName: 's'.repeat(300), + privacy: VideoPlaylistPrivacy.PUBLIC + }, + expectedStatus: 400 + } + + await createVideoPlaylist(baseParams) + await updateVideoPlaylist(immutableAssign(baseParams, { playlistId: playlistUUID })) + }) + + it('Should fail with an incorrect description', async function () { + const baseParams = { + url: server.url, + token: server.accessToken, + playlistAttrs: { + displayName: 'display name', + privacy: VideoPlaylistPrivacy.PUBLIC, + description: 't' + }, + expectedStatus: 400 + } + + await createVideoPlaylist(baseParams) + await updateVideoPlaylist(immutableAssign(baseParams, { playlistId: playlistUUID })) + }) + + it('Should fail with an incorrect privacy', async function () { + const baseParams = { + url: server.url, + token: server.accessToken, + playlistAttrs: { + displayName: 'display name', + privacy: 45 + } as any, + expectedStatus: 400 + } + + await createVideoPlaylist(baseParams) + await updateVideoPlaylist(immutableAssign(baseParams, { playlistId: playlistUUID })) + }) + + it('Should fail with an unknown video channel id', async function () { + const baseParams = { + url: server.url, + token: server.accessToken, + playlistAttrs: { + displayName: 'display name', + privacy: VideoPlaylistPrivacy.PUBLIC, + videoChannelId: 42 + }, + expectedStatus: 404 + } + + await createVideoPlaylist(baseParams) + await updateVideoPlaylist(immutableAssign(baseParams, { playlistId: playlistUUID })) + }) + + it('Should fail with an incorrect thumbnail file', async function () { + const baseParams = { + url: server.url, + token: server.accessToken, + playlistAttrs: { + displayName: 'display name', + privacy: VideoPlaylistPrivacy.PUBLIC, + thumbnailfile: 'avatar.png' + }, + expectedStatus: 400 + } + + await createVideoPlaylist(baseParams) + await updateVideoPlaylist(immutableAssign(baseParams, { playlistId: playlistUUID })) + }) + + it('Should fail with an unknown playlist to update', async function () { + await updateVideoPlaylist({ + url: server.url, + token: server.accessToken, + playlistId: 42, + playlistAttrs: { + displayName: 'display name', + privacy: VideoPlaylistPrivacy.PUBLIC + }, + expectedStatus: 404 + }) + }) + + it('Should fail to update a playlist of another user', async function () { + await updateVideoPlaylist({ + url: server.url, + token: userAccessToken, + playlistId: playlistUUID, + playlistAttrs: { + displayName: 'display name', + privacy: VideoPlaylistPrivacy.PUBLIC + }, + expectedStatus: 403 + }) + }) + + it('Should fail to update to private a public/unlisted playlist', async function () { + const res = await createVideoPlaylist({ + url: server.url, + token: server.accessToken, + playlistAttrs: { + displayName: 'super playlist', + privacy: VideoPlaylistPrivacy.PUBLIC + } + }) + const playlist = res.body.videoPlaylist + + await updateVideoPlaylist({ + url: server.url, + token: server.accessToken, + playlistId: playlist.id, + playlistAttrs: { + displayName: 'display name', + privacy: VideoPlaylistPrivacy.PRIVATE + }, + expectedStatus: 409 + }) + }) + + it('Should succeed with the correct params', async function () { + const baseParams = { + url: server.url, + token: server.accessToken, + playlistAttrs: { + displayName: 'display name', + privacy: VideoPlaylistPrivacy.UNLISTED, + thumbnailfile: 'thumbnail.jpg' + } + } + + await createVideoPlaylist(baseParams) + await updateVideoPlaylist(immutableAssign(baseParams, { playlistId: playlistUUID })) + }) + }) + + describe('When adding an element in a playlist', function () { + it('Should fail with an unauthenticated user', async function () { + await addVideoInPlaylist({ + url: server.url, + token: null, + elementAttrs: { + videoId: videoId + }, + playlistId: playlistUUID, + expectedStatus: 401 + }) + }) + + it('Should fail with the playlist of another user', async function () { + await addVideoInPlaylist({ + url: server.url, + token: userAccessToken, + elementAttrs: { + videoId: videoId + }, + playlistId: playlistUUID, + expectedStatus: 403 + }) + }) + + it('Should fail with an unknown or incorrect playlist id', async function () { + await addVideoInPlaylist({ + url: server.url, + token: server.accessToken, + elementAttrs: { + videoId: videoId + }, + playlistId: 'toto', + expectedStatus: 400 + }) + + await addVideoInPlaylist({ + url: server.url, + token: server.accessToken, + elementAttrs: { + videoId: videoId + }, + playlistId: 42, + expectedStatus: 404 + }) + }) + + it('Should fail with an unknown or incorrect video id', async function () { + await addVideoInPlaylist({ + url: server.url, + token: server.accessToken, + elementAttrs: { + videoId: 'toto' as any + }, + playlistId: playlistUUID, + expectedStatus: 400 + }) + + await addVideoInPlaylist({ + url: server.url, + token: server.accessToken, + elementAttrs: { + videoId: 42 + }, + playlistId: playlistUUID, + expectedStatus: 404 + }) + }) + + it('Should fail with a bad start/stop timestamp', async function () { + await addVideoInPlaylist({ + url: server.url, + token: server.accessToken, + elementAttrs: { + videoId: videoId, + startTimestamp: -42 + }, + playlistId: playlistUUID, + expectedStatus: 400 + }) + + await addVideoInPlaylist({ + url: server.url, + token: server.accessToken, + elementAttrs: { + videoId: videoId, + stopTimestamp: 'toto' as any + }, + playlistId: playlistUUID, + expectedStatus: 400 + }) + }) + + it('Succeed with the correct params', async function () { + await addVideoInPlaylist({ + url: server.url, + token: server.accessToken, + elementAttrs: { + videoId: videoId, + stopTimestamp: 3 + }, + playlistId: playlistUUID, + expectedStatus: 200 + }) + }) + + it('Should fail if the video was already added in the playlist', async function () { + await addVideoInPlaylist({ + url: server.url, + token: server.accessToken, + elementAttrs: { + videoId: videoId, + stopTimestamp: 3 + }, + playlistId: playlistUUID, + expectedStatus: 409 + }) + }) + }) + + describe('When updating an element in a playlist', function () { + it('Should fail with an unauthenticated user', async function () { + await updateVideoPlaylistElement({ + url: server.url, + token: null, + elementAttrs: { }, + videoId: videoId, + playlistId: playlistUUID, + expectedStatus: 401 + }) + }) + + it('Should fail with the playlist of another user', async function () { + await updateVideoPlaylistElement({ + url: server.url, + token: userAccessToken, + elementAttrs: { }, + videoId: videoId, + playlistId: playlistUUID, + expectedStatus: 403 + }) + }) + + it('Should fail with an unknown or incorrect playlist id', async function () { + await updateVideoPlaylistElement({ + url: server.url, + token: server.accessToken, + elementAttrs: { }, + videoId: videoId, + playlistId: 'toto', + expectedStatus: 400 + }) + + await updateVideoPlaylistElement({ + url: server.url, + token: server.accessToken, + elementAttrs: { }, + videoId: videoId, + playlistId: 42, + expectedStatus: 404 + }) + }) + + it('Should fail with an unknown or incorrect video id', async function () { + await updateVideoPlaylistElement({ + url: server.url, + token: server.accessToken, + elementAttrs: { }, + videoId: 'toto', + playlistId: playlistUUID, + expectedStatus: 400 + }) + + await updateVideoPlaylistElement({ + url: server.url, + token: server.accessToken, + elementAttrs: { }, + videoId: 42, + playlistId: playlistUUID, + expectedStatus: 404 + }) + }) + + it('Should fail with a bad start/stop timestamp', async function () { + await updateVideoPlaylistElement({ + url: server.url, + token: server.accessToken, + elementAttrs: { + startTimestamp: 'toto' as any + }, + videoId: videoId, + playlistId: playlistUUID, + expectedStatus: 400 + }) + + await updateVideoPlaylistElement({ + url: server.url, + token: server.accessToken, + elementAttrs: { + stopTimestamp: -42 + }, + videoId: videoId, + playlistId: playlistUUID, + expectedStatus: 400 + }) + }) + + it('Should fail with an unknown element', async function () { + await updateVideoPlaylistElement({ + url: server.url, + token: server.accessToken, + elementAttrs: { + stopTimestamp: 2 + }, + videoId: videoId2, + playlistId: playlistUUID, + expectedStatus: 404 + }) + }) + + it('Succeed with the correct params', async function () { + await updateVideoPlaylistElement({ + url: server.url, + token: server.accessToken, + elementAttrs: { + stopTimestamp: 2 + }, + videoId: videoId, + playlistId: playlistUUID, + expectedStatus: 204 + }) + }) + }) + + describe('When reordering elements of a playlist', function () { + let videoId3: number + let videoId4: number + + before(async function () { + { + const res = await uploadVideo(server.url, server.accessToken, { name: 'video 3' }) + videoId3 = res.body.video.id + } + + { + const res = await uploadVideo(server.url, server.accessToken, { name: 'video 4' }) + videoId4 = res.body.video.id + } + + await addVideoInPlaylist({ + url: server.url, + token: server.accessToken, + playlistId: playlistUUID, + elementAttrs: { videoId: videoId3 } + }) + + await addVideoInPlaylist({ + url: server.url, + token: server.accessToken, + playlistId: playlistUUID, + elementAttrs: { videoId: videoId4 } + }) + }) + + it('Should fail with an unauthenticated user', async function () { + await reorderVideosPlaylist({ + url: server.url, + token: null, + playlistId: playlistUUID, + elementAttrs: { + startPosition: 1, + insertAfterPosition: 2 + }, + expectedStatus: 401 + }) + }) + + it('Should fail with the playlist of another user', async function () { + await reorderVideosPlaylist({ + url: server.url, + token: userAccessToken, + playlistId: playlistUUID, + elementAttrs: { + startPosition: 1, + insertAfterPosition: 2 + }, + expectedStatus: 403 + }) + }) + + it('Should fail with an invalid playlist', async function () { + await reorderVideosPlaylist({ + url: server.url, + token: server.accessToken, + playlistId: 'toto', + elementAttrs: { + startPosition: 1, + insertAfterPosition: 2 + }, + expectedStatus: 400 + }) + + await reorderVideosPlaylist({ + url: server.url, + token: server.accessToken, + playlistId: 42, + elementAttrs: { + startPosition: 1, + insertAfterPosition: 2 + }, + expectedStatus: 404 + }) + }) + + it('Should fail with an invalid start position', async function () { + await reorderVideosPlaylist({ + url: server.url, + token: server.accessToken, + playlistId: playlistUUID, + elementAttrs: { + startPosition: -1, + insertAfterPosition: 2 + }, + expectedStatus: 400 + }) + + await reorderVideosPlaylist({ + url: server.url, + token: server.accessToken, + playlistId: playlistUUID, + elementAttrs: { + startPosition: 'toto' as any, + insertAfterPosition: 2 + }, + expectedStatus: 400 + }) + + await reorderVideosPlaylist({ + url: server.url, + token: server.accessToken, + playlistId: playlistUUID, + elementAttrs: { + startPosition: 42, + insertAfterPosition: 2 + }, + expectedStatus: 400 + }) + }) + + it('Should fail with an invalid insert after position', async function () { + await reorderVideosPlaylist({ + url: server.url, + token: server.accessToken, + playlistId: playlistUUID, + elementAttrs: { + startPosition: 1, + insertAfterPosition: 'toto' as any + }, + expectedStatus: 400 + }) + + await reorderVideosPlaylist({ + url: server.url, + token: server.accessToken, + playlistId: playlistUUID, + elementAttrs: { + startPosition: 1, + insertAfterPosition: -2 + }, + expectedStatus: 400 + }) + + await reorderVideosPlaylist({ + url: server.url, + token: server.accessToken, + playlistId: playlistUUID, + elementAttrs: { + startPosition: 1, + insertAfterPosition: 42 + }, + expectedStatus: 400 + }) + }) + + it('Should fail with an invalid reorder length', async function () { + await reorderVideosPlaylist({ + url: server.url, + token: server.accessToken, + playlistId: playlistUUID, + elementAttrs: { + startPosition: 1, + insertAfterPosition: 2, + reorderLength: 'toto' as any + }, + expectedStatus: 400 + }) + + await reorderVideosPlaylist({ + url: server.url, + token: server.accessToken, + playlistId: playlistUUID, + elementAttrs: { + startPosition: 1, + insertAfterPosition: 2, + reorderLength: -1 + }, + expectedStatus: 400 + }) + + await reorderVideosPlaylist({ + url: server.url, + token: server.accessToken, + playlistId: playlistUUID, + elementAttrs: { + startPosition: 1, + insertAfterPosition: 2, + reorderLength: 4 + }, + expectedStatus: 400 + }) + }) + + it('Succeed with the correct params', async function () { + await reorderVideosPlaylist({ + url: server.url, + token: server.accessToken, + playlistId: playlistUUID, + elementAttrs: { + startPosition: 1, + insertAfterPosition: 2, + reorderLength: 3 + }, + expectedStatus: 204 + }) + }) + }) + + describe('When deleting an element in a playlist', function () { + it('Should fail with an unauthenticated user', async function () { + await removeVideoFromPlaylist({ + url: server.url, + token: null, + videoId, + playlistId: playlistUUID, + expectedStatus: 401 + }) + }) + + it('Should fail with the playlist of another user', async function () { + await removeVideoFromPlaylist({ + url: server.url, + token: userAccessToken, + videoId, + playlistId: playlistUUID, + expectedStatus: 403 + }) + }) + + it('Should fail with an unknown or incorrect playlist id', async function () { + await removeVideoFromPlaylist({ + url: server.url, + token: server.accessToken, + videoId, + playlistId: 'toto', + expectedStatus: 400 + }) + + await removeVideoFromPlaylist({ + url: server.url, + token: server.accessToken, + videoId, + playlistId: 42, + expectedStatus: 404 + }) + }) + + it('Should fail with an unknown or incorrect video id', async function () { + await removeVideoFromPlaylist({ + url: server.url, + token: server.accessToken, + videoId: 'toto', + playlistId: playlistUUID, + expectedStatus: 400 + }) + + await removeVideoFromPlaylist({ + url: server.url, + token: server.accessToken, + videoId: 42, + playlistId: playlistUUID, + expectedStatus: 404 + }) + }) + + it('Should fail with an unknown element', async function () { + await removeVideoFromPlaylist({ + url: server.url, + token: server.accessToken, + videoId: videoId2, + playlistId: playlistUUID, + expectedStatus: 404 + }) + }) + + it('Succeed with the correct params', async function () { + await removeVideoFromPlaylist({ + url: server.url, + token: server.accessToken, + videoId: videoId, + playlistId: playlistUUID, + expectedStatus: 204 + }) + }) + }) + + describe('When deleting a playlist', function () { + it('Should fail with an unknown playlist', async function () { + await deleteVideoPlaylist(server.url, server.accessToken, 42, 404) + }) + + it('Should fail with a playlist of another user', async function () { + await deleteVideoPlaylist(server.url, userAccessToken, playlistUUID, 403) + }) + + it('Should succeed with the correct params', async function () { + await deleteVideoPlaylist(server.url, server.accessToken, playlistUUID) + }) + }) + after(async function () { killallServers([ server ]) diff --git a/server/tests/api/check-params/videos-filter.ts b/server/tests/api/check-params/videos-filter.ts index e998c8a3d..cc2f35069 100644 --- a/server/tests/api/check-params/videos-filter.ts +++ b/server/tests/api/check-params/videos-filter.ts @@ -1,9 +1,9 @@ /* tslint:disable:no-unused-expression */ -import * as chai from 'chai' import 'mocha' import { createUser, + createVideoPlaylist, flushTests, killallServers, makeGetRequest, @@ -13,15 +13,15 @@ import { userLogin } from '../../../../shared/utils' import { UserRole } from '../../../../shared/models/users' +import { VideoPlaylistPrivacy } from '../../../../shared/models/videos/playlist/video-playlist-privacy.model' -const expect = chai.expect - -async function testEndpoints (server: ServerInfo, token: string, filter: string, statusCodeExpected: number) { +async function testEndpoints (server: ServerInfo, token: string, filter: string, playlistUUID: string, statusCodeExpected: number) { const paths = [ '/api/v1/video-channels/root_channel/videos', '/api/v1/accounts/root/videos', '/api/v1/videos', - '/api/v1/search/videos' + '/api/v1/search/videos', + '/api/v1/video-playlists/' + playlistUUID + '/videos' ] for (const path of paths) { @@ -41,6 +41,7 @@ describe('Test videos filters', function () { let server: ServerInfo let userAccessToken: string let moderatorAccessToken: string + let playlistUUID: string // --------------------------------------------------------------- @@ -68,28 +69,38 @@ describe('Test videos filters', function () { UserRole.MODERATOR ) moderatorAccessToken = await userLogin(server, moderator) + + const res = await createVideoPlaylist({ + url: server.url, + token: server.accessToken, + playlistAttrs: { + displayName: 'super playlist', + privacy: VideoPlaylistPrivacy.PUBLIC + } + }) + playlistUUID = res.body.videoPlaylist.uuid }) describe('When setting a video filter', function () { it('Should fail with a bad filter', async function () { - await testEndpoints(server, server.accessToken, 'bad-filter', 400) + await testEndpoints(server, server.accessToken, 'bad-filter', playlistUUID, 400) }) it('Should succeed with a good filter', async function () { - await testEndpoints(server, server.accessToken,'local', 200) + await testEndpoints(server, server.accessToken,'local', playlistUUID, 200) }) it('Should fail to list all-local with a simple user', async function () { - await testEndpoints(server, userAccessToken, 'all-local', 401) + await testEndpoints(server, userAccessToken, 'all-local', playlistUUID, 401) }) it('Should succeed to list all-local with a moderator', async function () { - await testEndpoints(server, moderatorAccessToken, 'all-local', 200) + await testEndpoints(server, moderatorAccessToken, 'all-local', playlistUUID, 200) }) it('Should succeed to list all-local with an admin', async function () { - await testEndpoints(server, server.accessToken, 'all-local', 200) + await testEndpoints(server, server.accessToken, 'all-local', playlistUUID, 200) }) // Because we cannot authenticate the user on the RSS endpoint @@ -104,7 +115,7 @@ describe('Test videos filters', function () { }) }) - it('Should succed on the feeds endpoint with the local filter', async function () { + it('Should succeed on the feeds endpoint with the local filter', async function () { await makeGetRequest({ url: server.url, path: '/feeds/videos.json', diff --git a/server/tests/api/redundancy/redundancy.ts b/server/tests/api/redundancy/redundancy.ts index 778611fff..fc5ffbad7 100644 --- a/server/tests/api/redundancy/redundancy.ts +++ b/server/tests/api/redundancy/redundancy.ts @@ -4,20 +4,26 @@ import * as chai from 'chai' import 'mocha' import { VideoDetails } from '../../../../shared/models/videos' import { + checkSegmentHash, + checkVideoFilesWereRemoved, doubleFollow, flushAndRunMultipleServers, getFollowingListPaginationAndSort, getVideo, + getVideoWithToken, immutableAssign, - killallServers, makeGetRequest, + killallServers, + makeGetRequest, + removeVideo, + reRunServer, root, ServerInfo, - setAccessTokensToServers, unfollow, + setAccessTokensToServers, + unfollow, uploadVideo, viewVideo, wait, - waitUntilLog, - checkVideoFilesWereRemoved, removeVideo, getVideoWithToken, reRunServer, checkSegmentHash + waitUntilLog } from '../../../../shared/utils' import { waitJobs } from '../../../../shared/utils/server/jobs' -- cgit v1.2.3