Autopilot Testcase Needed: Infographics

Bug #1261591 reported by Andrew Hayzen on 2013-12-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Music App
Wishlist
Unassigned
libusermetrics (Ubuntu)
Wishlist
Unassigned

Bug Description

It would be nice to have autopilot testing of infographics, as there are many different code paths.

1) A track is played for more than 10 seconds, the infographic should be incremented
2) A track is played for less than 10 seconds, the infographic should not be incremented
3) A track has been playing for more than 10 seconds and is then paused and resumed (by clicking on the actual row), the infographic should stay the same
4) A track is played for a few seconds and then seeked to position later than 10 seconds, the infographic should be incremented
5) A track starts playing but does not reach 10 seconds then another track is *clicked*, the infographic should not be incremented for the first track
6) A track starts playing but does not reach 10 seconds then the next button is selected to move to the next track, the infographic should not be incremented for the first track
7) A track is played for more than 10 seconds and then the previous button is selected to jump it back to the start, the song plays for 10 seconds again. The infographic should be double incremented
8) A track is played for more than 10 seconds, the player goes onto the next track, the user selects previous track. The first track is played for 10 seconds again. The infographic should be double incremented

Andrew Hayzen (ahayzen) wrote :

The test cases listed above are all the possibilities, we probably only need to test 1) and 2) ?

Victor Thompson (vthompson) wrote :

lp:1261798 is related, however, it might not be desirable to allow the app access to the count. So the tests associated with this bug are currently impossible, and it may never be possible to accomplish such tests.

David Planella (dpm) on 2014-01-24
Changed in music-app:
status: New → Triaged
importance: Undecided → Wishlist
Pete Woods (pete-woods) on 2014-09-09
no longer affects: libusermetrics
Andrew Hayzen (ahayzen) on 2014-12-18
tags: added: needs-autopilot-test
Pete Woods (pete-woods) on 2016-08-11
Changed in libusermetrics (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers