Add track/{new,create} with file upload for the track
This commit is contained in:
@@ -9,6 +9,14 @@ Feature: Tracks
|
||||
When I go to the track page for "Mega song"
|
||||
Then I should see "Mega song" within "h1"
|
||||
|
||||
Scenario: Create track
|
||||
Given I am on the playlists page
|
||||
When I follow "Add a track"
|
||||
And I fill in "Name" with "Mega song"
|
||||
And I attach the file "features/data/test.mp3" to "File"
|
||||
And I press "Upload"
|
||||
Then I should see "Mega song" within "h1"
|
||||
|
||||
Scenario: Listen track
|
||||
Given a track named "Mega song"
|
||||
When I go to the track page for "Mega song"
|
||||
|
Reference in New Issue
Block a user