platform-api
Differences between revisions 6 and 9 (spanning 3 versions)
Size: 3936
Comment:
|
Size: 1614
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
* '''Test plan for component''': media-hub | * '''Test plan for component''': platform-api |
Line 3: | Line 3: |
* '''Trunk URL''': lp:media-hub * '''Ubuntu Package URL (LP)''': http://launchpad.net/ubuntu/+source/media-hub |
* '''Trunk URL''': lp:platform-api * '''Ubuntu Package URL (LP)''': http://launchpad.net/ubuntu/+source/platform-api |
Line 8: | Line 8: |
* Dash video lens * mediaplayer-app * music-app * webbrowser-app * mediascanner * all other apps that play music or video |
* qtubuntu * qtubuntu-sensors * location-service * unity-mir * native, non-Qt applications |
Line 19: | Line 18: |
* Install latest (trusty-proposed) image on phone * Install freshly built MPs that are needed for landing * Ensure that all Autopilot tests pass on the device (mediaplayer-app's and music-app's). * Plug device into computer and copy videos into "Videos" folder (i.e. /home/phablet/Video) * Ensure videos are displayed in Video lens * Tap video from Video lens and ensure that mediaplayer-app plays video * Ensure that video playback occurs smoothly * Ensure that mediaplayer-app can pause playback * Ensure that mediaplayer-app can seek forward and backward * Seek close to the end of playback and ensure that mediaplayer-app stops playing automatically at the end-of-stream * Close mediaplayer-app, reopen and ensure that video playback is successful a second time * Ensure that video playback occurs smoothly * Copy music into "Music" folder (i.e. /home/phablet/Music) * Ensure songs are displayed in the Music lens * Tap a song from Music lens and ensure that music-app plays audio * Ensure that music playback occurs smoothly without any audible distortion * Ensure that music-app can pause playback * Ensure that music-app can seek forward and backward * Seek close to the end of playback and ensure that music-app stops playing automatically at the end-of-stream * Close music-app, reopen and ensure that audio playback is successful a second time * Ensure that music playback occurs smoothly without any audible distortion |
Setup: |
Line 42: | Line 20: |
== Specific Detailed Tests == | * Install latest image on phone * Build, push and install all MRs related to the landing * Make sure test suites for platform-api and related landings run during build * Reboot * Run all binaries from libubuntu-application-apiX-tests. * These should all report at the end. |
Line 44: | Line 27: |
Test 1: 1. Move to the Music scope. 2. Select a track from the carousel 3. On the details page, press the play button beside the track name 4. Swipe from the right to the next track 5. Verify that playback stops and nothing crashes |
== Manual Tests == |
Line 51: | Line 29: |
Test 2: 1. Move to the music scope. 2. Select a track from the carousel 3. On the details page, press the play button beside the track name 4. Let the phone sleep. 5. Verify that music playback doesn't stop |
Applications: |
Line 58: | Line 31: |
Test 3: 1. While the track is playing from the scope and the screen is blank 2. Press the power button to get back to the scope 3. Verify that music playback doesn't stop |
* Ensure Unity8 comes up and that input is delivered to the shell * Launch gallery-app, confirm that it comes up and input is delivered correctly. * Launch a click application, confirm that it comes up and input is delivered correctly. |
Line 63: | Line 35: |
Test 4: 1. Move to the Music scope. 2. Select a track from the carousel 3. Press the Play in music-app button 4. Verify that music plays in the music-app |
Sensors: |
Line 69: | Line 37: |
Test 5: 1. Move to the Music scope. 2. Select a track from the carousel 3. Swipe to the next track 4. Nothing should crash Test 6: 1. Move to the Video scope 2. Select a video from the carousel 3. Click on Play 4. Video should play in mediaplayer-app Test 7: 1. Play a long video in mediaplayer-app 2. Verify that the screen does not turn off nor dim Test 8: 1. Play a long video in mediaplayer-app 2. Verify that the video does not freeze and video/audio playback successfully completes Test 9: 1. Move to the Video scope 2. Select a video from the carousel 3. Click on Play 4. Wait till the video stops 5. Press play button on the mediaplayer-app 6. Verify that the video plays again, from the beginning Test 10: 1. Move to the Apps Scope 2. Open the Music app 3. Select a track play it 4. Verify that music plays |
* Launch messaging-app, rotate device and make sure the application rotates accordingly. * Rotate keyboard in a rotating app, make sure it rotates at the same time and direction as the base app. * Place a phone call, cover proximity sensor. Phone screen should go off, uncover and it should go on. |
* Test plan for component: platform-api
Component Checklist: https://wiki.ubuntu.com/Process/Merges/Checklists/system-apps
Trunk URL: lp:platform-api
Ubuntu Package URL (LP): http://launchpad.net/ubuntu/+source/platform-api
Dependents/Clients
- qtubuntu
- qtubuntu-sensors
- location-service
- unity-mir
- native, non-Qt applications
Test Plan
This test plan is not supposed to be complete; use it to guide your manual testing so they don't miss big functional areas that are part in the component; also this should be used as guideline to inspire the exploratory testing which should be adapted smartly based on the real content of a MP
Setup:
- Install latest image on phone
- Build, push and install all MRs related to the landing
- Make sure test suites for platform-api and related landings run during build
- Reboot
- Run all binaries from libubuntu-application-apiX-tests.
- These should all report at the end.
Manual Tests
Applications:
- Ensure Unity8 comes up and that input is delivered to the shell
- Launch gallery-app, confirm that it comes up and input is delivered correctly.
- Launch a click application, confirm that it comes up and input is delivered correctly.
Sensors:
- Launch messaging-app, rotate device and make sure the application rotates accordingly.
- Rotate keyboard in a rotating app, make sure it rotates at the same time and direction as the base app.
- Place a phone call, cover proximity sensor. Phone screen should go off, uncover and it should go on.
Process/Merges/TestPlan/platform-api (last edited 2016-08-02 15:49:32 by localhost)