From Fedora Project Wiki

No edit summary
(link to tracker issues)
 
(9 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=This test case focuses on graphical login screen, shown after boot, log out, and when user-switching.
|description=This test case focuses on the graphical login screen. This is shown after system boot, after user log out, and when user-switching.
|setup=
|setup=
*Create multiple user accounts in "User menu" - "System Settings" - "User Accounts". Each account using different keyboard layout for username and password input. For example US QWERTY and FR AZERTY or Dvorak or your local variant.
* Create multiple user accounts using the Users section of the Settings app.
* You can switch between keyboard layouts using layout icon located in upper panel on the left side. For adding new layout select "Region and Language Settings" from icon's menu.
* You can set a password after you create new account or at first login: try both methods.
*Try to use (special) characters not available on the other keyboard layout or located on different keys. Remember, usernames should contain only English characters, digits and allowed special characters ("." or "-" or "_"), passwords don't have this restriction.
* If you know how to type with different keyboard layouts, give each user a different keyboard layout, by logging in with each user and changing their keyboard layout in the Keyboard section of the Settings app.
*You can set password after you create new account or at first login, try both methods.
 
|actions=
|actions=
# Boot or logout to show login screen.
# Logout or reboot to show the login screen.
# One by one try to login with each listed account. Remember to select correct keyboard layout before you enter your password.
# Verify that the login screen lists all user accounts, but not the root account. Each username should contain correct characters.
# Try to login with wrong password and correct password typed when using wrong keyboard layout.
# Log in with each listed account. Remember to select correct keyboard layout before you enter your password. Check that the keyboard layout used in the login screen remains the same after you login to the desktop.
# Login as root using "Not listed?" option. Try other existing accounts, even listed ones.
# Try to log in with an incorrect and a correct password typed when using wrong keyboard layout. Entering an incorrect password should show an error message.
# Try Suspend (if available), Power Off and Restart from login screen.
# Log in using the "Not listed?" option by specifying one of the accounts and its correct password.
# Use "User menu" - "Switch User" to login with multiple user accounts and switch between them without logging out.
# Try to suspend (if available), power off, and restart from login screen.
#* If you can't resume from suspend, it's usually not a bug of the login screen, but in hardware drivers, and not a failure of this test case (but you should still report it).
# When logged in, use the ''Switch User'' menu item to switch between user accounts without logging out of them. You should be able to login with multiple accounts at the same time and switch between them.
# Back at the login screen, use the controls in the top bar - keyboard layout, volume, power, etc and see whether they work correctly.
#* Note that the keyboard menu will only show if you have multiple system-wide keyboard layouts configured.


|results=
|results=
# The login manager should display all user accounts, but not the root account. Username should contain correct characters.
# All attempted operations should finish successfully.
# You should be able to log in with each configured user account using correct password. Check if keyboard layout is the same as you have selected in login screen, after you login to desktop.
# Please report all failures to the [https://gitlab.gnome.org/GNOME/gdm/issues GNOME tracker].
# Entering an incorrect password should return you to the accounts list, with a warning/explanation message.
# You should be able to login using "Not listed?" option with correct username and password.
# Power management options should work as expected. If you can't resume from suspend, it's usually not a bug at login screen, but in hardware drivers which means this test case didn't failed. Feel free to report driver bugs against appropriate components.
# You should be able to login with multiple accounts at the same time and switch between them.
}}
}}
[[Category:Package_gnome-shell_test_cases]]
[[Category:Package_gnome-shell_test_cases]]
[[Category:GNOME3_acceptance_test_cases]]
[[Category:Package_gdm_test_cases]]
[[Category:GNOME desktop feature test cases]]

Latest revision as of 11:05, 8 March 2023

Description

This test case focuses on the graphical login screen. This is shown after system boot, after user log out, and when user-switching.

Setup

  • Create multiple user accounts using the Users section of the Settings app.
  • You can set a password after you create new account or at first login: try both methods.
  • If you know how to type with different keyboard layouts, give each user a different keyboard layout, by logging in with each user and changing their keyboard layout in the Keyboard section of the Settings app.

How to test

  1. Logout or reboot to show the login screen.
  2. Verify that the login screen lists all user accounts, but not the root account. Each username should contain correct characters.
  3. Log in with each listed account. Remember to select correct keyboard layout before you enter your password. Check that the keyboard layout used in the login screen remains the same after you login to the desktop.
  4. Try to log in with an incorrect and a correct password typed when using wrong keyboard layout. Entering an incorrect password should show an error message.
  5. Log in using the "Not listed?" option by specifying one of the accounts and its correct password.
  6. Try to suspend (if available), power off, and restart from login screen.
    • If you can't resume from suspend, it's usually not a bug of the login screen, but in hardware drivers, and not a failure of this test case (but you should still report it).
  7. When logged in, use the Switch User menu item to switch between user accounts without logging out of them. You should be able to login with multiple accounts at the same time and switch between them.
  8. Back at the login screen, use the controls in the top bar - keyboard layout, volume, power, etc and see whether they work correctly.
    • Note that the keyboard menu will only show if you have multiple system-wide keyboard layouts configured.

Expected Results

  1. All attempted operations should finish successfully.
  2. Please report all failures to the GNOME tracker.