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
# Ensure the {{package|system-config-date}} package is installed
|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's own tool, and launch {{command|system-config-date}}, entering the root password when requested
# Leave the desktop configuration tool and open a console
# Repeat the tests as above, using {{command|system-config-date}}
# Leave {{command|system-config-date}}, 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, in {{command|system-config-date}}, and with the console {{command|date}} command should all work correctly and be reflected in the date displayed within the desktop
# 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

  1. Boot into the desktop and Fedora release you wish to test

How to test

  1. 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
  2. If the tool allows it, try enabling and disabling network time (NTP), and check that the time is correctly adjusted when you enable it
  3. 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
  4. 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
  5. Leave the desktop configuration tool and open a console
  6. Use the date command to set the system date and time: the format is date MMDDhhmm, for instance, date 02051600 to set the date and time to 16:00 on the 5th of February in the current year
  7. Again check if the changes are reflected in the desktop panel, allowing a few seconds

Expected Results

  1. 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