From Fedora Project Wiki

m (add autolang to page)
mNo edit summary
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{autolang|base=yes}}
{{autolang|base=yes}}
{{Template:Associated_release_criterion|Alpha|shutdown}}
{{Template:Associated_release_criterion|Beta|desktop-shutdown-reboot-logout}}


{{QA/Test_Case
{{QA/Test_Case
|description=This test case tests whether the desktop log in, log out and shutdown operations work correctly, particularly regarding keymaps.
|description=This test case tests whether the desktop log in, log out and shutdown operations work correctly.
|actions=
|actions=
{{admon/warning|Non-ascii characters are not allowed in password|In system-config-users or firstboot tools you can't create passwords containing non-ascii characters. That is tracked by {{bz|646876}}.}}
# Do a default installation of the Fedora release you wish to test. Create two user accounts.
{{admon/note|Testing with just a ''US'' keyboard?|While helpful, different physical keyboard layouts are not required to complete this test.  If you only have a US keyboard, you may test by selecting a ''UK'' keyboard layout and entering a character not found on a US keyboard, such as £ (<code>Shift-3</code>).}}
# Clean boot the system, and note what accounts are listed on the login screen.
# Do a default installation of the Fedora release you wish to test, but selecting a keyboard mapping which differs from the default. Create two user accounts, using characters in both username and password whose location is different in the selected mapping, as compared to US English
# Log in with the first user account.
# Clean boot the system, and note what accounts are listed on the login screen
# Log out of the desktop.
# Log in with the first user account, entering the variant characters using the keyboard mapping selected during installation
# Log in with the second user account.
# Check the selected keyboard mapping at the desktop
# Log out.
# Log out of the desktop
# Try to log in with either account, intentionally entering the wrong password.
# Log in with the second user account, entering the variant characters using the keyboard mapping selected during installation
# Test alternative actions - such as shut down, suspend, and restart - instead of logging in, if they are offered in the release being tested.
# Log out
# Log in with any account, and test all session management (log out, switch user, shut down, reboot, suspend etc.) activities offered by the desktop.
# Try to log in with either account, intentionally entering the wrong password
# Log out
# Test alternative actions - such as shut down, suspend, and restart - instead of logging in, if they are offered in the release being tested
# Log in with any account, and test all session management (log out, shut down, reboot, suspend etc.) activities offered by the desktop
|results=
|results=
# The login manager should display all regular user accounts, but not the root account, for selection
# The login manager should display all regular user accounts, but not the root account, for selection.
# You should be able to log in with each configured user account and the correct password
# You should be able to log in with each configured user account and the correct password.
# You should be able to perform all session management activities offered by the desktop
# You should be able to perform all session management activities offered by the desktop.
# Entering an incorrect password should return you to the account selection stage, with a warning/explanation message
# Entering an incorrect password should show you a warning message and let you retry. After several unsuccessful attempts, it returns you to the account selection stage.
# The alternative actions (shut down, restart, suspend etc) should behave as expected
# The alternative actions (switch user, shut down, restart, suspend etc) should behave as expected.
# Character entry during login should use the keymap selected during installation, not the default keymap (which is usually US English)
# The keymap selected at the desktop following login should also be the keymap selected during installation
}}
}}
[[Category:Desktop_Acceptance_Test_Cases]]
[[Category:Desktop_Acceptance_Test_Cases]]

Latest revision as of 15:07, 8 March 2018

Associated release criterion
This test case is associated with the Basic_Release_Criteria#shutdown release criterion. If you are doing release validation testing, a failure of this test case may be a breach of that release criterion. If so, please file a bug and nominate it as blocking the appropriate milestone, using the blocker bug nomination page.
Associated release criterion
This test case is associated with the Fedora_42_Beta_Release_Criteria#desktop-shutdown-reboot-logout release criterion. If you are doing release validation testing, a failure of this test case may be a breach of that release criterion. If so, please file a bug and nominate it as blocking the appropriate milestone, using the blocker bug nomination page.


Description

This test case tests whether the desktop log in, log out and shutdown operations work correctly.


How to test

  1. Do a default installation of the Fedora release you wish to test. Create two user accounts.
  2. Clean boot the system, and note what accounts are listed on the login screen.
  3. Log in with the first user account.
  4. Log out of the desktop.
  5. Log in with the second user account.
  6. Log out.
  7. Try to log in with either account, intentionally entering the wrong password.
  8. Test alternative actions - such as shut down, suspend, and restart - instead of logging in, if they are offered in the release being tested.
  9. Log in with any account, and test all session management (log out, switch user, shut down, reboot, suspend etc.) activities offered by the desktop.

Expected Results

  1. The login manager should display all regular user accounts, but not the root account, for selection.
  2. You should be able to log in with each configured user account and the correct password.
  3. You should be able to perform all session management activities offered by the desktop.
  4. Entering an incorrect password should show you a warning message and let you retry. After several unsuccessful attempts, it returns you to the account selection stage.
  5. The alternative actions (switch user, shut down, restart, suspend etc) should behave as expected.