You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently tutorials can be created by manually entering information and then manually entering videos one by one.
The playlist importer should take a playlist_id which relates to a youtube playlist and import all of the videos and associate them with a tutorial.
As an admin
When I visit '/admin/tutorials/new'
Then I should see a link for 'Import YouTube Playlist'
When I click 'Import YouTube Playlist'
Then I should see a form
And when I fill in 'Playlist ID' with a valid ID
Then I should be on '/admin/dashboard'
And I should see a flash message that says 'Successfully created tutorial. View it here.'
And 'View it here' should be a link to '/tutorials/:id'
And when I click on 'View it here'
Then I should be on '/tutorials/:id'
And I should see all videos from the YouTube playlist
And the order should be the same as it was on YouTube
Retain the original sequence from YouTube
Creates a video record for each video in the playlist and stores the youtube id.
Associates each video stored in the DB is associated with a tutorial. (validate presence of tutorial id)
Can import a playlist with more than 50 videos
The text was updated successfully, but these errors were encountered:
Currently tutorials can be created by manually entering information and then manually entering videos one by one.
The playlist importer should take a playlist_id which relates to a youtube playlist and import all of the videos and associate them with a tutorial.
The text was updated successfully, but these errors were encountered: