From Fedora Project Wiki

(create desktop date config test case)
 
(Move to new 'default application test cases' category)
 
(3 intermediate revisions by the same user not shown)
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''
# If the tool allows it, try enabling and disabling network time (NTP), and check that the time is correctly adjusted when you enable it
# If the tool allows it, try enabling and disabling network time (NTP), and check that the time is correctly adjusted when you enable it (i.e. change the time to an incorrect value when it's disabled, enable it, and see if the time is corrected)
# If the tool allows it, try enabling and disabling automatic timezone selection, and check that the timezone is correctly adjusted when you enable it (i.e. change to an incorrect timezone while it's disabled, enable it, and see if the timezone is corrected)
# 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:GNOME default application test cases]]
[[Category:Package_gnome-control-center_test_cases]]

Latest revision as of 16:18, 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 (i.e. change the time to an incorrect value when it's disabled, enable it, and see if the time is corrected)
  3. If the tool allows it, try enabling and disabling automatic timezone selection, and check that the timezone is correctly adjusted when you enable it (i.e. change to an incorrect timezone while it's disabled, enable it, and see if the timezone is corrected)
  4. 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
  5. 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
  6. Leave the desktop configuration tool and open a console
  7. 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
  8. 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