content-hub
Test plan for component: content-hub
Component Checklist: https://wiki.ubuntu.com/Process/Merges/Checklists/system-apps
Trunk URL: lp:content-hub
Ubuntu Package URL (LP): http://launchpad.net/ubuntu/+source/content-hub
Dependents/Clients
- System Settings
- Gallery App
- Address Book App
- Browser (future)
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 freshly build MPs that are needed for landing
- Ensure that all content-hub unit tests are passing.
before the peers become visible.
- Test that setting a contact's profile picture from Address Book app works as expected
- Test downloads from the browser
- open up browser and go to openclipart.org
- scroll to the "New Clipart" section
- long press on an thumbnail select "Save image" menu option
- find the downloaded file in the Downloads page of webbrowser-app
- tap on the download
- verify that content-hub peer picker UI is shown list at least Gallery
- select Gallery from the list
- ensure the downloaded picture is displayed in the Events view tab
- Test cancellation
- Create a new contact in Contacts
- Set a new avatar
- Select gallery from the peer picker
- Switch back to contacts app
- Press cancel
- Make sure the app is still responsive.
- Following tests are related with Clipboard App
- [All following tests should be done under Unity8 with Silo 2482 installed]
- Make sure that if Clipboard is empty "Paste" option should not be available:
- Make sure no data was copied (neither via Ctrl+C or "Copy"/"Cut" menus);
- Open Messaging App and start a new message;
- Click on the message body text area to set focus on this component;
- Make sure that pressing "Ctrl+Shift+V" no data is pasted;
- Open context menu (right click) on the message body text area;
- Make sure that "Paste" context menu option is not available;
- Make sure that Clipboard App is launched from keyboard shortcut and for Context Menu:
- Copy some text from any app (ie. Webbrowser App, Terminal App, Messaging App);
- Open Messaging App and start a new message;
- Click on the message body text area to set focus on this component;
- Make sure that Clipboard App is launched using a trusted session when you press "Ctrl+Shift+V";
- Close Clipboard App clicking on the "X" icon;
- Open context menu (right click) on the message body text area;
- Make sure that Clipboard App is launched when selecting "Paste" context menu option;
- Make sure that closing Clipboard App does not paste any data:
- Copy some text from any app (ie. Webbrowser App, Terminal App, Messaging App);
- Open Messaging App and start a new message;
- Launch Clipboard App either via keyboard shortcut or context menu;
- Close Clipboard App clicking on the "X" icon;
- Make sure no data was pasted on Messaging App;
- Make sure that copied data is available on Clipboard App:
- Copy some plain text from Terminal App or Messaging App;
- Copy some text from Webbrowser App;
- Copy some image from Webbrowser App;
- Right click over an image and select "Copy Image" from context menu;
- Open Messaging App and start a new message;
- Launch Clipboard App either via keyboard shortcut or context menu;
- Make sure that list view display 3 entries, one for each copied data;
- Make sure that list is sorted with the most recent copied data first;
- Make sure that for each copied text some preview text is displayed for each item;
- Make sure that application name from where data was copied is displayed for each item;
- Make sure that an image preview is available for entry corresponding to copied image;
- Make sure that usual Copy/Paste (Ctrl+C/Ctrl+V) still behave as expected for Messaging App:
- Make sure that only the latest copied data is pasted;
- Make sure that edit mode on Clipboard App works as expected:
- Copy multiple data from different apps (ie. Webbrowser App, Terminal App, Messaging App);
- Open Messaging App and start a new message;
- Launch Clipboard App either via keyboard shortcut or context menu;
- Open edit mode by clicking on the pencil icon on the header;
- Make sure "Save" option is not available;
- Make sure that trash iscon is not available;
- Click the "Cancel" option to leave edit mode;
- Make sure that no changes were made to entries list;
- Open edit mode again;
- Make sure you can select a single entry by checking the correspondent check box;
- Make sure you can select/deselect all entries using the select icon on the far right;
- Make sure when at least an entry is selected the trash icon become available;
- Make sure entries can be removed from Clipboard App using edit mode:
- Copy multiple data from different apps (ie. Webbrowser App, Terminal App, Messaging App);
- Open Messaging App and start a new message;
- Launch Clipboard App either via keyboard shortcut or context menu;
- Open edit mode by clicking on the pencil icon on the header;
- Select some entries and remove it by clicking on trash icon;
- Make sure selected entries were removed;
- Make sure remaining entries keep the correct order;
- Make sure that save option is available;
- Click on cancel option;
- You should leave edit mode;
- All removed entries should be restored;
- Open edit mode by clicking on the pencil icon on the header;
- Select some entries and remove it by clicking on trash icon;
- Click on save option;
- You should leave edit mode;
- All removed entries should be not visible anymore;
- Closing Clipboard App and opening again should not change entries list;
- Make sure entries can be removed from Clipboard App from list view:
- Copy multiple data from different apps (ie. Webbrowser App, Terminal App, Messaging App);
- Open Messaging App and start a new message;
- Launch Clipboard App either via keyboard shortcut or context menu;
- Select remove option using swipe to the right operation;
- Make sure selected entries were removed;
- Make sure remaining entries keep the correct order;
- Make sure that copied plain text preview works on Clipboard App:
- Copy some plain text from Terminal App or Messaging App;
- Open Messaging App and start a new message;
- Launch Clipboard App either via keyboard shortcut or context menu;
- Select preview option using swipe to the left operation;
- Make sure text preview is displayed;
- Make sure all copied text is visible;
- Make sure that if copied data is long enough user can scroll the view;
Make sure preview can be closed using "<" icon on the header;
- Make sure that copied rich text preview works on Clipboard App:
- Copy some text from Webbrowser App;
- Open Messaging App and start a new message;
- Launch Clipboard App either via keyboard shortcut or context menu;
- Select preview option using swipe to the left operation;
- Make sure text preview is displayed;
- Make sure all copied text is visible;
- Make sure that if copied data is long enough user can scroll the view;
- Make sure a dropbox option is available allowing user select between Plain and Rich text;
- Selecting Rich text should display selected text as it was visible on Webbrowser app (ie. bold, italic);
Make sure preview can be closed using "<" icon on the header;
- Reopening preview should remember Plain/Rich text option selected;
- Make sure that copied image preview works on Clipboard App:
- Copy some image from Webbrowser App;
- Right click over an image and select "Copy Image" from context menu;
- Open Messaging App and start a new message;
- Launch Clipboard App either via keyboard shortcut or context menu;
- Select preview option using swipe to the left operation;
- Make sure image preview is displayed;
Make sure preview can be closed using "<" icon on the header;
- Copy some image from Webbrowser App;
- Make sure that copied text can be pasted from Clipboard App as Plain text:
- Copy some plain text from Terminal App or Messaging App;
- Open Messaging App and start a new message;
- Launch Clipboard App either via keyboard shortcut or context menu;
- Click on the corresponding entry on the list view;
- Clipboard App should be closed;
- Copied text should be pasted;
- Make sure that copied text can be pasted from Clipboard App as Rich text:
- Copy some text from Webbrowser App;
- Open Messaging App and start a new message;
- Launch Clipboard App either via keyboard shortcut or context menu;
- Click on the corresponding entry on the list view;
- Clipboard App should be closed;
- Copied text should be pasted;
- Reopen Clipboard App via keyboard shortcut or context menu;
- Launch copied text preview and Select Rich Text on dropbox option;
- Close preview and return to the list view;
- Click on the corresponding entry on the list view;
- Clipboard App should be closed;
- Copied text should be pasted with richg text tags;
- Make sure that copied images can be pasted from Clipboard App:
- Copy some image from Webbrowser App;
- Right click over an image and select "Copy Image" from context menu;
- Open Messaging App and start a new message;
- Launch Clipboard App either via keyboard shortcut or context menu;
- Click on the corresponding entry on the list view;
- Clipboard App should be closed;
- An url to copied image should be pasted;
- Copy some image from Webbrowser App;
- Make sure all data can be pasted from preview page on Clipboard App?
- Copy multiple data from different apps (ie. Webbrowser App, Terminal App, Messaging App);
- Open Messaging App and start a new message;
- Launch Clipboard App either via keyboard shortcut or context menu;
- Open the preview for some of the entries;
- Click on the paste icon on the header;
- Clipboard App should be closed;
- Paste data should be pasted.
Process/Merges/TestPlan/content-hub (last edited 2017-03-07 00:32:05 by localhost)