Applications/usc
applications/software-center/01-launching-aptlink
Case ID: appusc-001Affected Package: software-center
Purpose:
1. Launching from an apt: link
Steps:
1. Follow the link http://apt.ubuntu.com/p/python-wxtools
Verification:
1. It should show the item screen for "Get Software" > "System" > "python-wxtools"
NOTES:
1. Opening an apt: url should launch the Ubuntu Software Center directly to the appropriate screen
2. Or if it is already open, focus it, wait until any currently-open alerts or dialogs have been dismissed
3. And then switch to the appropriate screen
applications/software-center/02-launching-commandline
Case ID: appusc-002Affected Package: software-center
Purpose:
1. Launching from command line
Steps:
1. Click the test button to launch the Software Center
Verification:
1. software-center should launch the Center to its default view
applications/software-center/03-launching-commandline-package
Case ID: appusc-003Affected Package: software-center
Purpose:
1. Launching from command line with package name parameter
Steps:
1. Click the test button to execute "software-center gstreamer0.10-plugins-good"
Verification:
1. software-center package-name should open the Center to display that package
NOTES:
1. If the search terms exactly match a package name, that package should be returned first in the results, even if the package was hidden by default
applications/software-center/04-launching-commandline-package-not-found
Case ID: appusc-004Affected Package: software-center
Purpose:
1. Launching from command line with unknow package name parameter
Steps:
1. Click the test button to execute "software-center foo_bar_34"
Verification:
1. As the package is unknown, USC should display the unknown-package screen
applications/software-center/05-searching
Case ID: appusc-005Affected Package: software-center
Purpose:
1. Searching in "Get Software"
Steps:
1. Click on Applications->Software Center
2. Type Ctrl+F; the search field should be focused
3. Type "fire" (without quotes then press Enter)
a. The "Search Results" path button element should appear
b. The main pane should be replaced by search results, with Firefox first
4. Press the down arrow key once; Firefox should be selected in the results
5. Press Enter; the Center should navigate to the software item screen for Firefox
6. Close the Software Center
Verification:
1. Did all the above conditions get satisfied without any adverse effects?
applications/software-center/06-searching-pattern
Case ID: appusc-006Affected Package: software-center
Purpose:
1. Searching in general
Steps:
1. Click on Applications->Software Center
2. From the top-level "Get Software" screen, search for "atom"
a. It should return both Atomix and Liferea (an Atom feed reader)
3. Now search for "atom " (with a trailing space)
a. It should return only Liferea
4. Now search for "writee"
a. It should return libspreadsheet-writeexcel-perl
5. Close the Software Center
Verification:
1. Did all the above conditions get satisfied without any adverse effects?
NOTES:
1. When searching anywhere in the Center, any word in the search string that is followed by a space or punctuation should be treated as a a complete word
2. While any word that is not should be treated as if it may be either a complete word or the beginning of a word
3. If the search terms exactly match a package name, that package should be returned first in the results, even if the package was hidden by default
applications/software-center/07-searching-description
Case ID: appusc-007Affected Package: software-center
Purpose:
1. Searching with description keywords
Steps:
1. From the lobby, search for "drawing " (with a trailing space)
2. Then search for "drawing program"
Verification:
1. The Center should return exactly the same results for both searches, though possibly in a different order
applications/software-center/08-install
Case ID: appusc-008Affected Package: software-center
Purpose:
1. Installing an application
Steps:
1. Click on Applications->Software Center
a. When opened directly, the Center should by default display the lobby screen of the "Get Software" section, scrolled to the top
b. The search field should be empty
c. Default focus should be on the search field
2. Search for "liferea"
3. Click on the entry for liferea
4. Click on the install button
5. Type in your password
6. While it is installing, navigate to the "In Progress" section, and open the "View" menu
a. Its items should be insensitive
7. Close the Software Center
8. When its finished installing look to see if it's installed in Applications->Internet->liferea
Verification:
1. Did all the above conditions get satisfied without any adverse effects?
NOTES:
1. In the standard gnome-panel "Menu Bar" applet, "Ubuntu Software Center" should be the last item in the "Applications" menu, with a separator immediately before it
2. If the package is known and currently installed, the "Installed Software" item screen for the package
3. If the package is known and not currently installed (even if it is currently being installed), the "Get Software" item screen for the package
applications/software-center/09-remove
Case ID: appusc-009Affected Package: software-center
Purpose:
1. Removing an application
Steps:
1. Click on Applications->Software Center
2. Search for "liferea"
3. Click on the entry for liferea
4. Click on the remove button
5. Type in your password
6. Close the Software Center
7. When its finished installing look to see if it's been removed from Applications->Internet->liferea
Verification:
1. Did all the above conditions get satisfied without any adverse effects?
applications/software-center/10-remove-dep
Case ID: appusc-010Affected Package: software-center
Purpose:
1. Removing a dependency
Steps:
1. Click on Applications->Software Center
2. Search for "plugins good"
3. Click on the entry for Gstreamer plugins from the "good" set
4. Click on the remove button
a. The Center should put up a confirmation alert: "To remove Gstreamer0.10-plugins-good these items must be removed as well:"
b. Any affected applications, followed by any other affected packages, must be listed alphabetically in an inset software list view that is focused by default
c. The alert should have "Cancel" and "Remove All" buttons
5. Click on the Cancel button
6. Close the Software Center
Verification:
1. Did all the above conditions get satisfied without any adverse effects?
applications/software-center/11-list-view
Case ID: appusc-011Affected Package: software-center
Purpose:
1. Software list view
Steps:
1. Click on Applications->Software Center
2. Navigate to "Get Software" > "Fonts"
3. Select "A Lee’s free Hangul TrueType fonts (ttf-alee)"
4. Press Ctrl F; the search field should be focused
5. Press Tab; the ttf-alee row and its "More Info" button should be focused
6. Press Tab again; the "Install" button should be focused
7. Press Tab again; the selected item in the navigation pane should be focused
8. Close the Software Center
Verification:
1. Did all the above conditions get satisfied without any adverse effects?
NOTES:
1. Pressing Tab should cycle through any remaining buttons before leaving the list
applications/software-center/12-navigation-pane
Case ID: appusc-012Affected Package: software-center
Purpose:
1. Navigation pane
Steps:
1. Click on Applications->Software Center
2. In the "Get Software" section
a. Navigate to the AbiWord application
b. Scroll to the bottom of the AbiWord screen
3. In the navigation pane click on "Installed Software", then on "Get Software"
Verification:
1. The Center should resume displaying the bottom of the AbiWord screen
applications/software-center/13-navigation-pane-reset
Case ID: appusc-013Affected Package: software-center
Purpose:
1. Navigation pane reset
Steps:
1. Click on Applications->Software Center
2. In the "Installed Software" section
a. Navigate to the Firefox application
3. Close the Center, then reopen it
4. Click on "Installed Software"
Verification:
1. The Center should display the top level of the Installed Software section
applications/software-center/14-install-search
Case ID: appusc-014Affected Package: software-center
Purpose:
1. Searching while installing
Steps:
1. Click on Applications->Software Center
2. Begin installing something (e.g. oem-qa-media)
3. While it is installing, in the "Get Software" > "Internet" section
a. Search for "chat"
b. Scroll through the results
c. Click on "In Progress"
d. USC should show the installation progress
4. Now click on "Get Software"
5. USC should return to the search results for "chat"
a. Within the "Get Software" > "Internet" department
b. In exactly the scroll position that you left it
6. Click on "In Progress" again and wait for the installation to finish
7. "In Progress" should disappear, and USC should return to the search results for "chat" once more
8. Close the Software Center
Verification:
1. Did all the above conditions get satisfied without any adverse effects?
applications/software-center/15-navigation
Case ID: appusc-015Affected Package: software-center
Purpose:
1. Back/Forward navigation
Steps:
1. Launch the Center. Both the Back and Forward buttons should be insensitive
2. Navigate to the "Games" section. The Back button should become sensitive
3. Navigate to the "Installed Software" section, and then to an individual item screen inside it
4. Return to "Get Software" in the navigation list
a. You should be back in the "Games" section
5. Activate the Back button. You should return to the lobby
a. The Back button should become insensitive
b. The Forward button should become sensitive
6. Activate the Forward button. You should return to the "Games" section
a. The Back button should become sensitive
b. The Forward button should become insensitive
7. Close the Software Center
Verification:
1. Did all the above conditions get satisfied without any adverse effects?
applications/software-center/16-add-ppa
Case ID: appusc-016Affected Package: software-center
Purpose:
1. Individual Software sources
Steps:
1. Click on Applications->Software Center
2. With "Get Software" collapsed and "Installed Software" expanded, close the Ubuntu Software Center and reopen it
a. The state should be remembered
3. Expand the "Get Software" item. Add a PPA in Software Sources
a. The PPA should appear immediately as a child item of "Get Software", and should soon be relabelled from its URL to its display name
4. Install a package from that PPA. When it finishes installing
a. The PPA should appear immediately as a child item of "Installed Software" too
5. Select that new child item. Remove the package
a. When it finishes uninstalling, the PPA should disappear as a child item of "Installed Software"
b. That parent item should become selected
6. Select the PPA inside "Get Software", then remove the PPA from Software Sources
a. The PPA should disappear immediately as a child item of "Get Software"
b. That parent item should become selected
7. Close the Software Center
Verification:
1. Did all the above conditions get satisfied without any adverse effects?
applications/software-center/17-software-sources-partner
Case ID: appusc-017Affected Package: software-center
Purpose:
1. Install a Partner package
Steps:
1. Click on Applications->Software Center
2. Add the partner repository in Software Sources
3. Download and install the Skype package
4. Expand the Ubuntu Software Center "Installed Software" section. it should have an "Other" child item that lists the Skype package
5. Expand the "Get Software" section. It should not have an "Other" child item
6. Close the Software Center
Verification:
1. Did all the above conditions get satisfied without any adverse effects?
applications/software-center/18-custom-package-lists
Case ID: appusc-018Affected Package: software-center
Purpose:
1. Custom package lists
Steps:
1. Click on Applications->Software Center
2. Navigate to the main "Get Software" screen and enter "gobby,gnome-Orca" (without quotes) in the search field
a. The path button should show "Get Software" > "Custom List", the rest of the main pane should list "Gobby" and "Orca"
b. The status bar should say "2 items"
3. Add ",9base" to the search text ("gobby,gnome-Orca,9base")
a. The list should change to "Gobby", "Orca", and "Plan 9 userland tools", in that order
b. An action bar should appear offering to "Install 1 Item"
c. The status bar should say "3 items"
4. Add a comma to the end of the string ("gobby,gnome-Orca,9base,")
a. Nothing should change
5. Add the letters "abcd" to the end of the string ("gobby,gnome-Orca,9base,abcd")
a. A greyed-out item should appear at the end of the list: "Not found"/"abcd"
b. The button should still say "Install 1 Item"
c. The status bar should still say "3 items"
6. Close the Software Center
Verification:
1. Did all the above conditions get satisfied without any adverse effects?
NOTES:
1. To perform on a machine that has Gobby and Orca installed but neither 9base nor abcde
2. With "View" > "All Software" selected
applications/software-center/19-broken-apt-cache
Case ID: appusc-019Affected Package: software-center
Purpose:
1. Handling a broken apt cache
Steps:
1. Click on Applications->Software Center
2. Break the cache using the command: apt-get install -y 4g8 && dpkg --force-depends -r libnet1
3. The custom PolicyKit alert should appear
4. Cancel the alert
5. Try to install something
6. The "Rebuilding software catalog" task should appear
7. Once the rebuilt is complete, close the Software Center
8. Reset with "sudo apt-get remove -y 4g8 libnet1"
Verification:
1. Did all the above conditions get satisfied without any adverse effects?