Autopilot Testcase Needed: Infographics

Bug #1261591 reported by Andrew Hayzen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Music App
Triaged
Wishlist
Unassigned
libusermetrics (Ubuntu)
Triaged
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

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

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

Revision history for this message
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)
Changed in music-app:
status: New → Triaged
importance: Undecided → Wishlist
Pete Woods (pete-woods)
no longer affects: libusermetrics
Andrew Hayzen (ahayzen)
tags: added: needs-autopilot-test
Pete Woods (pete-woods)
Changed in libusermetrics (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
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.