QA:Testcase KDE4 Session management

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
 
{{QA/Test_Case
 
{{QA/Test_Case
 
|description=Test case covers operations with KDE4 session like Screen Lock, Login and Logout, Switch user and system/machine like Shut down, Restart, Suspend and Resume. All of them with different display managers due to the change from KDM to SDDM in Fedora 20.
 
|description=Test case covers operations with KDE4 session like Screen Lock, Login and Logout, Switch user and system/machine like Shut down, Restart, Suspend and Resume. All of them with different display managers due to the change from KDM to SDDM in Fedora 20.
|setup=Boot the default Fedora installation to KDE4 desktop.
+
|setup=Boot the default Fedora installation to KDE4 desktop. Have a few other regular user accounts prepared on the system.
 
|actions=
 
|actions=
 
# Click on "Fedora icon on Panel" to show Launcher.
 
# Click on "Fedora icon on Panel" to show Launcher.
Line 18: Line 18:
 
## Try to logout from first session on "Ctrl + Alt + F1" and switch to second session "Ctrl + Alt + F2".
 
## Try to logout from first session on "Ctrl + Alt + F1" and switch to second session "Ctrl + Alt + F2".
 
## Logout from second session.
 
## Logout from second session.
 +
# (advanced/optional) Other display managers
 +
## Install any other display manager by using <code>yum install $DM</code> (where <code>DM=</code> especially <code>kdm</code> and <code>gdm</code>)
 +
## Start it from a virtual terminal either by using <code>systemctl stop display-manager.service; systemctl start $DM.service</code>
 +
### Or by setting it as default with <code>systemctl enable --force $DM.service</code> and rebooting (if you're on an installed system).
 +
## Repeat previous test cases
 +
##
 
|results=
 
|results=
 
# Launcher shows.
 
# Launcher shows.
Line 34: Line 40:
 
## On "Ctrl + Alt + F1" is running default login manager and on "Ctrl + Alt + F2" is running second session.
 
## On "Ctrl + Alt + F1" is running default login manager and on "Ctrl + Alt + F2" is running second session.
 
## Default login manager should run only on "Ctrl + Alt + F1".
 
## Default login manager should run only on "Ctrl + Alt + F1".
 +
# Other DMs
 +
## Behavior of the KDE4 desktop should be consistent using any of the display managers
 +
## All the previous test cases' results are valid for the other DMs too.
 
}}
 
}}

Latest revision as of 17:47, 6 November 2013

Contents

Description

Test case covers operations with KDE4 session like Screen Lock, Login and Logout, Switch user and system/machine like Shut down, Restart, Suspend and Resume. All of them with different display managers due to the change from KDM to SDDM in Fedora 20.

Setup

Boot the default Fedora installation to KDE4 desktop. Have a few other regular user accounts prepared on the system.

How to test

  1. Click on "Fedora icon on Panel" to show Launcher.
  2. Select "Leave" tab in Launcher.
  3. Run all session and system management commands (only one each time):
    1. Screen Lock and unlock (no password)
    2. Logout and login back
    3. Shut down
    4. Restart
    5. Sleep and resume.
  4. Switch user
    1. Click on "New Session" and Choose "Start New Session"
    2. Login as user "liveuser" (no password)
    3. Switch between different KDE4 sessions using "Ctrl + Alt + F1" and "Ctrl + Alt + F2" or the "Switch User" option from the "Leave" menu in the Launcher.
    4. Try to unlock session on "Ctrl + Alt + F1" and switch between both sessions. Start different set of application on each session.
    5. Try to logout from first session on "Ctrl + Alt + F1" and switch to second session "Ctrl + Alt + F2".
    6. Logout from second session.
  5. (advanced/optional) Other display managers
    1. Install any other display manager by using yum install $DM (where DM= especially kdm and gdm)
    2. Start it from a virtual terminal either by using systemctl stop display-manager.service; systemctl start $DM.service
      1. Or by setting it as default with systemctl enable --force $DM.service and rebooting (if you're on an installed system).
    3. Repeat previous test cases

Expected Results

  1. Launcher shows.
  2. "Leave" tab contains Logout, Lock, Switch user, Sleep, Restart and Shut down menu items.
  3. Each Session or System management command do what is expected:
    1. Screen could be locked and unlocked. Nothing from desktop session is visible.
    2. Logout and login back works.
    3. After "Shut down" system is halted, internal hardware is powered off.
    4. On "Restart" system reboots without powering off.
    5. System suspends and successfully resumes to previous working state.
  4. Switch user
    1. Default login manager should appear. (SDDM by default, may vary with your setup).
    2. New session without running applications should be started.
    3. First session is locked after switch and could be unlocked.
    4. Switching between different KDE4 sessions should work. Each session should have own set of applications.
    5. On "Ctrl + Alt + F1" is running default login manager and on "Ctrl + Alt + F2" is running second session.
    6. Default login manager should run only on "Ctrl + Alt + F1".
  5. Other DMs
    1. Behavior of the KDE4 desktop should be consistent using any of the display managers
    2. All the previous test cases' results are valid for the other DMs too.