scube-server/features/playlists.feature
2011-08-30 16:53:47 +00:00

30 lines
780 B
Gherkin

Feature: Playlists
So that tracks can be grouped in lists
As a listener
I want to manage some playlists
Background:
Given I am signed in
Scenario: List playlists
Given a playlist named "Electro"
And a playlist named "Reggae"
When I am on the playlists page
Then I should see "Electro" and "Reggae" in a list
Scenario: Create playlist
Given I am on the playlists page
When I follow "Create playlist"
And I fill in "Name" with "Electro"
And I press "Create"
Then I should see "Electro" in the list
Scenario: Edit playlist
Given a playlist named "Electro"
And I am on the playlists page
When I follow "Electro"
And I fill in "Name" with "Rock"
And I press "Save"
Then I should see "Rock" in the list