From Fedora Project Wiki

(move to new 'desktop feature test cases' category)
(General updates)
Line 2: Line 2:
|description=This test case focuses on lock screen, shown when user session is locked.
|description=This test case focuses on lock screen, shown when user session is locked.


More on [http://library.gnome.org/misc/release-notes/3.6/users-lock-screen.html Lock Screen].
|setup=
|setup=
* Login to Gnome Shell.
* Login to the GNOME desktop.
* Lock the user session using the power off button in the system menu, or the Super+L keyboard shortcut.
* Wait for the screen to blank.
 
|actions=
|actions=
# Lock user session using "User menu" - "Lock" or keyboard shortcut "Super" + "L" ("Winkey" + "L").
# Wake up the screen by pressing a key or moving the pointer.
# Slide screen upward by your finger or mouse, or hit "Escape" or "Enter" key. Enter correct password to unlock user session.
# Try to unlock the session using wrong password.
# Try unlock session using wrong password.
# Try the "Log in as another user" option.
# Try "Log in as another user" option.
# Try to login with the correct password.
# In "User menu" - "Settings" - "Privacy" - "Screen Lock" you can configure inactivity after then screen turns off and lock delay. Check "Show notifications" to enable notifications on lock screen.
# When logged in and with the screen unlocked, stop interacting with the desktop and time how long it takes for the screen to automatically blank. Check that the screen has automatically locked after going blank. (The settings for this can be found in Settings > Privacy > Screen.)
|results=
|results=
# You should see actual time and date.
# An accurate time and date should be shown.
# Screen should unlock.
# Screen should unlock after entering the correct password.
# Screen should stay locked and show error message.
# If an incorrect password is entered, the screen should stay locked and show an error message.
# "Log in as another user" option should bring you to Gnome Login Screen with list of all available accounts. Then you can switch back or login as another user.
# The desktop session should not be visible until after successfully unlocking.
# Screen should turn off and lock after configured time. Notifications should be visible on locked screen.
# The "Log in as another user" option should bring you to the Login Screen with a list of all available user accounts. Then you can switch back or login as another user.
# The screen should automatically turn off and lock after the configured time. Notifications should be visible on locked screen.
}}
}}
[[Category:Package_gnome-shell_test_cases]]
[[Category:Package_gnome-shell_test_cases]]
[[Category:GNOME desktop feature test cases]]
[[Category:GNOME desktop feature test cases]]

Revision as of 10:23, 5 September 2022

Description

This test case focuses on lock screen, shown when user session is locked.

Setup

  • Login to the GNOME desktop.
  • Lock the user session using the power off button in the system menu, or the Super+L keyboard shortcut.
  • Wait for the screen to blank.

How to test

  1. Wake up the screen by pressing a key or moving the pointer.
  2. Try to unlock the session using wrong password.
  3. Try the "Log in as another user" option.
  4. Try to login with the correct password.
  5. When logged in and with the screen unlocked, stop interacting with the desktop and time how long it takes for the screen to automatically blank. Check that the screen has automatically locked after going blank. (The settings for this can be found in Settings > Privacy > Screen.)

Expected Results

  1. An accurate time and date should be shown.
  2. Screen should unlock after entering the correct password.
  3. If an incorrect password is entered, the screen should stay locked and show an error message.
  4. The desktop session should not be visible until after successfully unlocking.
  5. The "Log in as another user" option should bring you to the Login Screen with a list of all available user accounts. Then you can switch back or login as another user.
  6. The screen should automatically turn off and lock after the configured time. Notifications should be visible on locked screen.