Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Framasoft
PeerTube
PeerTube
Commits
4842e518
Verified
Commit
4842e518
authored
Nov 18, 2021
by
Chocobozzz
Browse files
Fetch publishedAt after wait jobs
To make sure it's published
parent
98846837
Pipeline
#458865
passed with stage
in 12 minutes and 27 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
server/tests/api/videos/video-create-transcoding.ts
View file @
4842e518
...
@@ -60,12 +60,12 @@ function runTests (objectStorage: boolean) {
...
@@ -60,12 +60,12 @@ function runTests (objectStorage: boolean) {
const
{
shortUUID
}
=
await
servers
[
0
].
videos
.
quickUpload
({
name
:
'
video
'
})
const
{
shortUUID
}
=
await
servers
[
0
].
videos
.
quickUpload
({
name
:
'
video
'
})
videoUUID
=
shortUUID
videoUUID
=
shortUUID
await
waitJobs
(
servers
)
const
video
=
await
servers
[
0
].
videos
.
get
({
id
:
videoUUID
})
const
video
=
await
servers
[
0
].
videos
.
get
({
id
:
videoUUID
})
publishedAt
=
video
.
publishedAt
as
string
publishedAt
=
video
.
publishedAt
as
string
await
servers
[
0
].
config
.
enableTranscoding
()
await
servers
[
0
].
config
.
enableTranscoding
()
await
waitJobs
(
servers
)
})
})
it
(
'
Should generate HLS
'
,
async
function
()
{
it
(
'
Should generate HLS
'
,
async
function
()
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment