Description
This test case tests whether PackageKit can check for, offer, and install package updates. Note: if doing desktop validation testing, the results for this test case are split into two in the table. One entry, at Alpha stage, is for the ability to perform updates: the parts of this test case which test whether you can in fact install updates relate to this entry. The other, at Beta stage, is for update notification: the parts of this test case which test whether the desktop notifies you of available updates relate to this entry. Please put pass, warn or fail notes in the appropriate entry for the parts of the test case in question.
How to test
- Clean boot the Fedora you wish to test: this could be a system installed from a particular snapshot, pre-release, release or live image. It should be an image for which updates will be available.
- Check whether the system checks for updates, notifies you of their availability, and offers to install them. You can do this simply by waiting while observing whether the 'checking for updates' and then 'updates available' icons appear in the notification area. To ensure this happens in a reasonable amount of time, see the tip below
- If testing in the live environment, stop at this point; testing installation of updates in the live environment is not desired
- Launch the software installation application (e.g. Activities Overview -> Software). Switch to the updates page and run through the update process.
- Wait for more updates to become available, manually downgrade some packages so updates for them are again available, or re-install
Expected Results
- When booted live, updates should not be actively offered to the user. When booting an installed system, available updates should be offered to the user
- Graphical update applications should complete the update process with no errors
- Graphical update applications should check the appropriate repositories for the release when testing for updates, with no manual configuration required
- Graphical update applications should list the number and details of available updates and await confirmation before proceeding with the actual update process
- Graphical update applications should correctly install all available updates when you confirm that you wish to do so. Note that a failure caused by problems with the packages in the repositories, rather than yum or PackageKit misbehaving, should be reported against the offending package(s) and considered a 'warn', rather than 'fail', if you are performing desktop validation testing