|
1 Feature: As a test engineer I want to run BAT test cases for QT Music Player |
|
2 |
|
3 Scenario: Equalizer_Select a preset from list |
|
4 Given the MusicPlayer application is active |
|
5 And I select the song number 1 of the list |
|
6 Then The song number 1 of the library is shown in playback view |
|
7 When I Tap on Navi pane text area Music |
|
8 When I select Equaliser from the Options menu |
|
9 Then the Equaliser pop up is displayed |
|
10 And Equaliser preset 1 is selected |
|
11 When I select the Equaliser preset number 3 from the list |
|
12 And I Tap on Navi pane text area Music |
|
13 And I select Exit from the Options menu |
|
14 Then the MusicPlayer application is not active |
|
15 When the MusicPlayer application is active |
|
16 And I select the song number 1 of the list |
|
17 Then The song number 1 of the library is shown in playback view |
|
18 When I Tap on Navi pane text area Music |
|
19 When I select Equaliser from the Options menu |
|
20 Then the Equaliser preset 3 is selected |
|
21 |
|
22 Scenario: Repeat |
|
23 Given the MusicPlayer application is active |
|
24 And I select the song number 1 of the list |
|
25 Then The song number 1 of the library is shown in playback view |
|
26 And Repeat is set to ON |
|
27 Then all songs are played and at the end it goes to the first one and stays in Playing |
|
28 When I Tap on Navi pane text area Music |
|
29 And I select Repeat off from the Options menu |
|
30 And all songs are played and at the end it goes to the first one and stays in Paused |
|
31 When the application is closed |
|
32 Given the MusicPlayer application is active |
|
33 And I select the song number 1 of the list |
|
34 Then The song number 1 of the library is shown in playback view |
|
35 And Repeat is set to OFF |
|
36 |
|
37 |
|
38 |
|
39 |
|
40 |
|
41 |
|
42 |
|
43 |
|
44 |
|
45 |
|
46 |
|
47 Scenario: Audio Effects view - Change settings and Exit |
|
48 Given the MusicPlayer application is active |
|
49 And I select the song number 1 of the list |
|
50 Then The song number 1 of the library is shown in playback view |
|
51 When I Tap on Navi pane text area Music |
|
52 When I select Audio effects from the Options menu |
|
53 Then the Audio effects pop up is displayed |
|
54 And Audio effects settings are Balance 0 and Loudness Off |
|
55 When I drag the slider to the Right 40 pixels |
|
56 And I tap the Loudness toggle |
|
57 Then Audio effects settings are Balance 25 and Loudness On |
|
58 When the application is closed |
|
59 Given the MusicPlayer application is active |
|
60 And I select the song number 1 of the list |
|
61 Then The song number 1 of the library is shown in playback view |
|
62 When I Tap on Navi pane text area Music |
|
63 When I select Audio effects from the Options menu |
|
64 Then the Audio effects pop up is displayed |
|
65 And Audio effects settings are Balance 25 and Loudness On |
|
66 |
|
67 Scenario: Playbackview options menu |
|
68 Given the MusicPlayer application is active |
|
69 And I select the song number 1 of the list |
|
70 Then The song number 1 of the library is shown in playback view |
|
71 When I Tap on Navi pane text area Music |
|
72 Then the playback view options menu list is shown correctly |
|
73 |
|
74 Scenario: Now Playing View Q4- Activate shuffle- go back to Songs view and play another song - check shuffle is ON |
|
75 Given the MusicPlayer application is active |
|
76 And I select the song number 1 of the list |
|
77 Then The song number 1 of the library is shown in playback view |
|
78 When I set shuffle to ON |
|
79 Then musicplayer plays the following songs after song 1 randomly |
|
80 When I press the back button |
|
81 And I select the song number 4 of the list |
|
82 Then The song number 4 of the library is shown in playback view |
|
83 And shuffle is set to ON |
|
84 |
|
85 Scenario: Now playing view H1- Shuffle OFF |
|
86 Given the MusicPlayer application is active |
|
87 And I select the song number 1 of the list |
|
88 Then The song number 1 of the library is shown in playback view |
|
89 When I set shuffle to OFF |
|
90 And I wait until the song change |
|
91 Then The song number 2 of the library is shown in playback view |
|
92 And I wait until the song change |
|
93 Then The song number 3 of the library is shown in playback view |
|
94 Then the application is closed |
|
95 |
|
96 Scenario: Playback view control bar to FW,RW,Play-pause. |
|
97 Given the MusicPlayer application is active |
|
98 And I select the song number 1 of the list |
|
99 Then The song number 1 of the library is shown in playback view |
|
100 And the song in the playback view is Playing |
|
101 When I press the button FW in the PlaybackToolbar |
|
102 Then The song number 2 of the library is shown in playback view |
|
103 And the song in the playback view is Playing |
|
104 When I press the button RW in the PlaybackToolbar twice |
|
105 Then The song number 1 of the library is shown in playback view |
|
106 When I single press the button RW in the PlaybackToolbar and it is playing it starts from the beginning |
|
107 When I press the button Pause in the PlaybackToolbar |
|
108 Then the song in the playback view is Paused |
|
109 When I press the button FW in the PlaybackToolbar |
|
110 Then The song number 2 of the library is shown in playback view |
|
111 Then the song in the playback view is Paused |
|
112 When I press the button RW in the PlaybackToolbar |
|
113 Then The song number 1 of the library is shown in playback view |
|
114 Then the song in the playback view is Paused |