From Fedora Project Wiki

(create a 'login' test case, which covers login manager functionality and also tests keymap selection)
 
m (add switch user)
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{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 login stage works correctly, particularly regarding keymaps.
|description=This test case tests whether the desktop log in, log out and shutdown operations work correctly.
|actions=
|actions=
# Do a default installation of the Fedora release you wish to test, and create two user accounts with different names and passwords
# Do a default installation of the Fedora release you wish to test. Create two user accounts.
# Clean boot the system, and note what accounts are listed on the login screen
# Clean boot the system, and note what accounts are listed on the login screen.
# Log in with the first user account
# Log in with the first user account.
# Log out of the desktop
# Log out of the desktop.
# Log in with the second user account
# Log in with the second user account.
# Log out
# Log out.
# Try to log in with either account, intentionally entering the wrong password
# 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.
# Use the 'Shut Down' option instead of logging in
# Log in with any account, and test all session management (log out, switch user, shut down, reboot, suspend etc.) activities offered by the desktop.
# Re-install Fedora, this time selecting a keyboard mapping which differs from the default, and again create two user accounts, using characters in both username and password whose location is different in the selected mapping, as compared to US English
# Clean boot the installed system, and try to log in with each account in turn, entering the variant characters using the selected keyboard mapping
# Check the selected keyboard mapping at the desktop, once the process is complete
|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.
# Entering an incorrect password should return you to the account selection stage, with a warning/explanation message
# You should be able to perform all session management activities offered by the desktop.
# The alternative actions (shut down, restart, suspend etc) should behave as expected
# Entering an incorrect password should return you to the account selection stage, with a warning/explanation message.
# Character entry during login should use the keymap selected during installation, not the default keymap (which is usually US English)
# The alternative actions (switch user, shut down, restart, suspend etc) should behave as expected.
# 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]]

Revision as of 11:01, 9 April 2015

Note.png
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.
Note.png
Associated release criterion
This test case is associated with the Fedora_41_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 return you to the account selection stage, with a warning/explanation message.
  5. The alternative actions (switch user, shut down, restart, suspend etc) should behave as expected.