2
id: music-playlists/system-image
3
_summary: [Automated] gather system information
4
command: system-image-cli -i
8
id: music-playlists/create-playlists
10
_summary: Test create playlist
11
estimated_duration: 600
15
2. Navigate to playlist view
16
Expect empty playlist:- http://people.canonical.com/~alan/screenshots/device-2014-11-17-101416.png
17
3. Tap "+" button in top right
18
Expect "New Playlist" dialog:- http://people.canonical.com/~alan/screenshots/device-2014-11-17-204544.png
19
4. Tap in the input field
20
Expect to see the OSK appear:- http://people.canonical.com/~alan/screenshots/device-2014-11-17-205144.png
23
Expect to see empty playlist:- http://people.canonical.com/~alan/screenshots/device-2014-11-17-205248.png
25
id: music-playlists/add-tracks-to-playlist
27
_summary: Test add tracks to playlist
28
estimated_duration: 600
30
Test add tracks to playlist
31
1. Navigate to Songs view
33
Expect to see buttons revealed:- http://people.canonical.com/~alan/screenshots/device-2014-11-17-205354.png
34
3. Tap last icon (add to playlist)
35
Expect to be taken to "Select playlist" view:- http://people.canonical.com/~alan/screenshots/device-2014-11-17-205514.png
36
4. Select previously created playlist "Best songs"
37
Expect to be taken back to previous view:- http://people.canonical.com/~alan/screenshots/device-2014-11-17-205552.png
38
5. Navigate to albums view
40
Expect to see the individual album view:- http://people.canonical.com/~alan/screenshots/device-2014-11-17-205713.png
41
7. Long press on a track
42
Expect multi-select boxes and buttons to appear:- http://people.canonical.com/~alan/screenshots/device-2014-11-17-205819.png
44
9. Tap 'burger' menu in the top right, choose "Add to playlist"
45
Expect to be taken to the "Select playlist" view:- http://people.canonical.com/~alan/screenshots/device-2014-11-17-205923.png
46
10. Tap previously create playlist
47
Expect to be taken back to individual album view:- http://people.canonical.com/~alan/screenshots/device-2014-11-17-210010.png
48
11. Navigate to Playlist view
49
12. Tap previously created playlist
50
Expect to see songs previously selected:- http://people.canonical.com/~alan/screenshots/device-2014-11-17-210333.png
52
id: music-playlists/remove-playlist
54
_summary: Test removing playlist
55
estimated_duration: 600
57
Test removing playlist
58
1. Navigate to Playlist view
59
2. Tap previously created playlist
60
3. Tap rubbish bin in top toolbar
61
Expect to get a confirmation prompt:- http://people.canonical.com/~alan/screenshots/device-2014-11-17-210424.png
62
4. Tap 'Remove' button
63
Expect playlist to be removed:- http://people.canonical.com/~alan/screenshots/device-2014-11-17-210520.png
65
id: music-playlists/tab-persist
67
_summary: Test tab index is persists a restart
68
estimated_duration: 600
70
Test tab index is persists a restart
71
1. Start the app and switch to a tab (eg playlists)
72
2. Close the app and restart it
73
Expect the app to start on the same tab