GDM

Differences between revisions 2 and 3
Revision 2 as of 2024-12-03 16:45:18
Size: 1869
Editor: 3v1n0
Comment:
Revision 3 as of 2024-12-03 17:06:30
Size: 2798
Editor: aleasto
Comment:
Deletions are marked like this. Additions are marked like this.
Line 25: Line 25:
1. From a logged-in session, select the ''Switch user'' option
1. You need to be able to login as another user
1. You need to be able to unlock and go back to the the previous session
 1. From a logged-in session, select the ''Switch user'' option
 1. You need to be able to login as another user
 1. You need to be able to unlock and go back to the the previous session
Line 45: Line 45:
== Test Case 5.a ==

'''NVIDIA (Ubuntu 24.10 or newer)''' - ''For desktops or laptops with NVIDIA graphics''

This test verifies the default session type for NVIDIA systems running Ubuntu 24.10 or newer

 1. Boot to the login screen
 1. Select your name
 1. Click the cogwheel at the bottom-right of the screen
 1. Verify that all these options are listed:
  * Ubuntu
  * Ubuntu on Xorg
 1. Verify that there does not exist:
  * Ubuntu on Wayland

== Test Case 5.b ==

'''NVIDIA (Ubuntu 24.04 or older)''' - ''For desktops or laptops with NVIDIA graphics''

This test verifies the default session type for NVIDIA systems running Ubuntu 24.04 or newer

 1. Boot to the login screen
 1. Select your name
 1. Click the cogwheel at the bottom-right of the screen
 1. Verify that all these options are listed:
  * Ubuntu
  * Ubuntu on Wayland
 1. Verify that there does not exist:
  * Ubuntu on Xorg

Below are the test cases that should be run when GDM is updated to new major releases in the development version of Ubuntu.

These should also be run for all GDM Stable Release Updates.

Test Case 1

Login

  1. sudo apt install gnome-session
  2. Install the update.
  3. Log out.
  4. Select your name on the login screen.
  5. Click the gear button to choose a session to log in to.
  6. Finish logging in.
  7. Verify that things continue to work well for all these sessions:
    • GNOME
    • GNOME Classic
    • Ubuntu
    • Ubuntu on Xorg

Test Case 2

User switch and user lock

  1. From a logged-in session, select the Switch user option

  2. You need to be able to login as another user
  3. You need to be able to unlock and go back to the the previous session

Test Case 3

Smart card authentication

  1. Configure setup with smart card authentication following this tutorial

  2. Ensure smart cart authentication works, plugging it the card both before and after gdm has been started
  3. Once logged in, unlocking the screen should work with smart card

Test Case 4

Fingerprint authentication - If hardware supports it

  1. Configure user to enable fingerprint authentication from user session (Settings -> Users -> Fingerprint)

  2. Ensure that after the user has been selected, it's possible to log-in with fingerprint
  3. Once logged in, unlocking the screen should work with smart card

Test Case 5.a

NVIDIA (Ubuntu 24.10 or newer) - For desktops or laptops with NVIDIA graphics

This test verifies the default session type for NVIDIA systems running Ubuntu 24.10 or newer

  1. Boot to the login screen
  2. Select your name
  3. Click the cogwheel at the bottom-right of the screen
  4. Verify that all these options are listed:
    • Ubuntu
    • Ubuntu on Xorg
  5. Verify that there does not exist:
    • Ubuntu on Wayland

Test Case 5.b

NVIDIA (Ubuntu 24.04 or older) - For desktops or laptops with NVIDIA graphics

This test verifies the default session type for NVIDIA systems running Ubuntu 24.04 or newer

  1. Boot to the login screen
  2. Select your name
  3. Click the cogwheel at the bottom-right of the screen
  4. Verify that all these options are listed:
    • Ubuntu
    • Ubuntu on Wayland
  5. Verify that there does not exist:
    • Ubuntu on Xorg

What Could Go Wrong

GDM is the main login manager for Ubuntu desktop.

A severe enough bug could mean that people are unable to use their desktop version of Ubuntu or to log in to a specific session.

Smaller bugs could interrupt people's workflows.


CategoryDesktopTestPlans

DesktopTeam/TestPlans/GDM (last edited 2025-03-25 17:34:35 by 3v1n0)