Autopilot Testcase Needed: Test repeat

Bug #1289497 reported by Andrew Hayzen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Music App
Fix Released
Low
Jason

Bug Description

An autopilot test case is needed for the repeat option.

Repeat On
* Last song reaches end, the first song should start
Repeat Off
* Last song reaches end, the music should stop

Select next from the last song should start the first and selecting previous from the first song should start the last.

Related branches

Changed in music-app:
status: New → Confirmed
importance: Undecided → Low
Jason (gerlowskija)
Changed in music-app:
assignee: nobody → Jason (gerlowskija)
Revision history for this message
Jason (gerlowskija) wrote :

So, I'm running into some behavior and I'm not sure whether it's "expected" or not.

When repeat is off, if I'm on the last song in the queue, and I click the 'next' button, the first song in the queue begins to play again. Is this expected behavior, or a bug? I would've expected playback to stop (just my guess though, who am I to say).

If I let the song play to completion however, playback stops (which is correct).

Just wanted to get some clarification on this so I don't contribute tests that assert bad behavior ;-p

Revision history for this message
Andrew Hayzen (ahayzen) wrote :

What you have described is the expected behaviour from the code whether that is the correct behavior is up for debate though ;-)

Also note we will be moving to the media-hub soon so our behavior may change but the tests can be updated when and if the behavior changes.

Revision history for this message
Victor Thompson (vthompson) wrote :

Jason, that is the intended behavior as implemented by the team. We made the decision that repeat should only prevent the app from repeating when left playing. We decided that the user should be able to still skip/navigate using the forward/back buttons regardless of which song in the queue is playing.

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:music-app at revision None, scheduled for release in music-app, milestone 1.0

Changed in music-app:
status: Confirmed → Fix Committed
Changed in music-app:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.