gallery-app
* Test plan for component: gallery-app
Component Checklist: https://wiki.ubuntu.com/Process/Merges/Checklists/system-apps
Trunk URL: lp:gallery-app
Ubuntu Package URL (LP): http://launchpad.net/ubuntu/+source/gallery-app
Dependents/Clients
- System Settings (choosing background image)
- Address Book App (choosing profile picture)
- Camera App (launching, saving photo)
- Browser app (saving photo, pending..)
- Messaging app (saving photo, pending..)
Test Plan
This test plan is not supposed to be complete; use it to guide your manual testing so they dont 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
- Install latest (trusty-proposed) image on phone
- Install freshly build MPs that are needed for landing
- Ensure that all AP tests pass on the device.
- Test taking multiple pictures using the Camera and then launching Gallery from Camera and ensuring photos exist in Events view
- Test opening photos from event view and navigating between them using right/left swipe gesture
- Test that gallery app launches fullscreen with the top indicator panel hidden
- Test pinch to zoom after opening a picture
- Test rotating and cropping a picture
- Test rotating the phone and ensure photo rotates
- Test that all photos show up in photo view
- Test that you can create an album and add pictures to it
- Test that you can launch the camera from within the gallery and then switch back.
- Add videos to the device in ~/Videos directory. Ensure they are not deleted from disk after running gallery.
- Add videos to the device in both ~/Videos and ~/Pictures directory. Ensure no videos are displayed in the gallery.
- Do same test on the desktop (after export DESKTOP_MODE=1). Ensure that the videos are displayed in the gallery-app and can be played back correctly from within the gallery-app
- System settings: test that you can select a background image from the gallery
- Address Book app: test that you can select an image from the gallery for a contact's profile picture
- Test Import
send some photos as attachments to gmail, including this photo: https://bugs.launchpad.net/gallery-app/+bug/1381583/+attachment/4274571/+files/bug.jpg
- open gmail webapp
- open the message and click on the attachment
- select gallery from list, and when download completes press Open button
- verify that the Events view is shown in gallery and the downloaded picture shows up in today's event, regardless of date the photo was taken
- Test album cancellation
- go to album view and delete any existing albums
- press the "+" button to add an Album
- press the back button from the header
- verify the blank album was not added to the list
- repeat this quickly multiple times and verify the app doesn't freeze
- now create a new album and add some pictures, verify the album shows up in the list when you return to album view
- Test open from scope
- make sure all apps are closed
- open the camera and take a picture
- Go to the "My Photos" scope
- Click on the picture you just took with camera
- Click the "open" button
- Verify the gallery-app is launched and the picture is displayed in the gallery.
- Test .gif files
- connect phone to computer and copy over some .gif files into Pictures directory
- launch gallery and make sure the pictures are properly displayed in the events and photos view
- make sure that editing functions are disabled for gif images (there is no support in backend for this)
- Test importing files
- Open gallery
- Move to the photos view
- Open the browser-app/Gmail and import some photo using gallery
- When the process is finished choose do not open the photo in gallery right now
- Move back to gallery-app, the Events view should be the current view