From Fedora Project Wiki
m (make the code copy-able) |
(use a bigger hammer when asking for a notification) |
||
Line 10: | Line 10: | ||
{{admon/tip|Tip for shortening the waiting time to the updates notification on GNOME|On the GNOME desktop, you can run the following commands to shorten the waiting time: | {{admon/tip|Tip for shortening the waiting time to the updates notification on GNOME|On the GNOME desktop, you can run the following commands to shorten the waiting time: | ||
<pre> | <pre> | ||
TIMESTAMP=$(date '+%s' --date='08:00 8 days ago') | |||
gsettings set org.gnome.software install-timestamp $ | gsettings set org.gnome.software check-timestamp $TIMESTAMP | ||
gsettings set org.gnome.software install-timestamp $TIMESTAMP | |||
gsettings set org.gnome.software online-updates-timestamp $TIMESTAMP | |||
gsettings set org.gnome.software update-notification-timestamp $TIMESTAMP | |||
sudo touch --no-create --date='08:00 8 days ago' /var/lib/PackageKit/offline-update-competed | sudo touch --no-create --date='08:00 8 days ago' /var/lib/PackageKit/offline-update-competed | ||
</pre> | </pre> |
Revision as of 14:48, 6 October 2021
Description
This test case tests whether a graphical desktop notifies the user of available package updates.
How to test
- Clean boot the Fedora you wish to test: this could be a system installed from a particular snapshot, pre-release, or release, or a live image. It should be an image for which updates will be available (or you can downgrade a package after installation).
- Log into a graphical desktop.
- Wait and see whether the system checks for updates, notifies you of their availability, and offers to install them. The time before the first notification appears varies, and can be up to an hour or more: you may want to leave the test system sitting for a while and do something else, or run some other tests while waiting for the notification.
Expected Results
- The desktop should notify you that updates are available and provide an obvious action to install them.