Add home page with playlists list and link to add a track
This commit is contained in:
10
features/home.feature
Normal file
10
features/home.feature
Normal file
@@ -0,0 +1,10 @@
|
||||
Feature: Home
|
||||
|
||||
So that I can use scube efficiently
|
||||
As a listener
|
||||
I want to access the main features and valuable content from the homepage
|
||||
|
||||
Scenario: Playlist access
|
||||
Given a playlist named "Electro"
|
||||
When I am on the home page
|
||||
Then I should see "Electro" within "ul>li"
|
@@ -10,7 +10,7 @@ Feature: Tracks
|
||||
Then I should see "Mega song" within "h1"
|
||||
|
||||
Scenario: Create track
|
||||
Given I am on the playlists page
|
||||
Given I am on the home page
|
||||
When I follow "Add a track"
|
||||
And I fill in "Name" with "Mega song"
|
||||
And I attach the file "features/fixtures/test.mp3" to "File"
|
||||
|
Reference in New Issue
Block a user