From Fedora Project Wiki
(create desktop date config test case) |
(drop all references to system-config-date (it was retired years ago)) |
||
Line 3: | Line 3: | ||
|setup= | |setup= | ||
# Boot into the desktop and Fedora release you wish to test | # Boot into the desktop and Fedora release you wish to test | ||
|actions= | |actions= | ||
# Launch the desktop's date and time configuration tool (if it has one). For the GNOME desktop, go to the Overview and search for ''control-center date'' | # Launch the desktop's date and time configuration tool (if it has one). For the GNOME desktop, go to the Overview and search for ''control-center date'' | ||
Line 9: | Line 8: | ||
# With network time disabled, try changing the date and time manually. See if the changed date and time are reflected in the desktop panel, and at a console with the {{command|date}} command | # With network time disabled, try changing the date and time manually. See if the changed date and time are reflected in the desktop panel, and at a console with the {{command|date}} command | ||
# If the tool allows it, try changing the time zone. See if the time changes appropriately for the timezone change, and if the changes are reflected in the desktop panel, and at a console with the {{command|date}} command. It may take a few seconds for the desktop panel to reflect the change | # If the tool allows it, try changing the time zone. See if the time changes appropriately for the timezone change, and if the changes are reflected in the desktop panel, and at a console with the {{command|date}} command. It may take a few seconds for the desktop panel to reflect the change | ||
# Leave the desktop | # Leave the desktop configuration tool and open a console | ||
# Use the {{command|date}} command to set the system date and time: the format is {{command|date MMDDhhmm}}, for instance, {{command|date 02051600}} to set the date and time to 16:00 on the 5th of February in the current year | # Use the {{command|date}} command to set the system date and time: the format is {{command|date MMDDhhmm}}, for instance, {{command|date 02051600}} to set the date and time to 16:00 on the 5th of February in the current year | ||
# Again check if the changes are reflected in the desktop panel, allowing a few seconds | # Again check if the changes are reflected in the desktop panel, allowing a few seconds | ||
|results= | |results= | ||
# Changes made to the date and time in the desktop's own configuration app | # Changes made to the date and time in the desktop's own configuration app and with the console {{command|date}} command should all work correctly and be reflected in the date displayed within the desktop | ||
}} | }} | ||
[[Category:GNOME3_acceptance_test_cases]] | [[Category:GNOME3_acceptance_test_cases]] |
Revision as of 15:50, 12 May 2022
Description
This test case tests whether a given desktop environment correctly configures and reflects changes to the system time and date.
Setup
- Boot into the desktop and Fedora release you wish to test
How to test
- Launch the desktop's date and time configuration tool (if it has one). For the GNOME desktop, go to the Overview and search for control-center date
- If the tool allows it, try enabling and disabling network time (NTP), and check that the time is correctly adjusted when you enable it
- With network time disabled, try changing the date and time manually. See if the changed date and time are reflected in the desktop panel, and at a console with the
date
command - If the tool allows it, try changing the time zone. See if the time changes appropriately for the timezone change, and if the changes are reflected in the desktop panel, and at a console with the
date
command. It may take a few seconds for the desktop panel to reflect the change - Leave the desktop configuration tool and open a console
- Use the
date
command to set the system date and time: the format isdate MMDDhhmm
, for instance,date 02051600
to set the date and time to 16:00 on the 5th of February in the current year - Again check if the changes are reflected in the desktop panel, allowing a few seconds
Expected Results
- Changes made to the date and time in the desktop's own configuration app and with the console
date
command should all work correctly and be reflected in the date displayed within the desktop