ubuntu-session

Revision 52 as of 2017-09-05 10:17:00

Clear message

Description

This is a test plan for ubuntu-session as used by Ubuntu Desktop. It covers the standard sessions available on a default installation or upgrade of Ubuntu Desktop.

Initial set up

  • Install latest Ubuntu Desktop development release

Manual Tests

Test Cases

  • Sessions “Ubuntu” and “Ubuntu on Xorg” are available after a fresh default installation
    1. With a default installation of Ubuntu, boot the system
    2. Select a user
    3. Click on the cog
    4. Verify that ‘Ubuntu’ and ‘Ubuntu on Xorg’ are available and ‘Ubuntu’ is the default
  • Sessions “Ubuntu” and “Ubuntu on Xorg” are available after a fresh OEM installation
    1. With a default installation of Ubuntu, boot the system
    2. Select a user
    3. Click on the cog
    4. Verify that ‘Ubuntu’ and ‘Ubuntu on Xorg’ are available and ‘Ubuntu’ is the default
  • Sessions “Ubuntu”, “Ubuntu on Xorg”, “Unity” are available after an upgrade from Ubuntu 17.04 and “Ubuntu” is the default.
    1. With a default installation of Ubuntu 17.04 upgraded to latest development release, boot the system
    2. Select a user
    3. Click on the cog
    4. Verify that ‘Ubuntu’, ‘Ubuntu on Xorg’ and ‘Unity’ are available and ‘Ubuntu’ is the default
  • Sessions “Gnome”, “Gnome on Xorg” are available after an upgrade from Ubuntu GNOME 17.04 and “Gnome” is the default.
    1. With a default installation of Ubuntu Gnome 17.04 upgraded to latest development release, boot the system
    2. Select a user
    3. Click on the cog
    4. Verify that ‘Gnome’ and ‘Gnome on Xorg’ are available and ‘Gnome’ is the default
  • “Ubuntu” starts a wayland session
    1. Select a user
    2. Select the session named ‘Ubuntu’
    3. Login
    4. Verify that the wayland session is started and wayland is running
  • “Ubuntu on Xorg” starts an xorg session
    1. Select a user
    2. Select the session named ‘Ubuntu on Xorg’
    3. Login
    4. Verify that the Xorg session is started and Xorg is running
  • “Unity” (available after an upgrade from zesty) starts a Unity session.
    1. Select a user
    2. Select the session named ‘Unity’
    3. Login
    4. Verify that the Unity session is started and Unity on Xorg is running
  • If “Ubuntu” is selected, it is still the selected session after a logout/login.
    1. Login with the ‘Ubuntu’ session and verify that a wayland session is started
    2. Logout
    3. Click on the cog
    4. Check that ‘Ubuntu’ is still selected
    5. Login
    6. Check that the wayland session is started
  • If “Ubuntu on Xorg” is selected, it is still the selected session after a logout/login.
    1. Login with the ‘Ubuntu on Xorg’ session and verify that an xorg session is started
    2. Logout
    3. Click on the cog
    4. Check that ‘Ubuntu on Xorg’ is still selected
    5. Login
    6. Check that the xorg session is started
  • If “Unity” is selected, it is still the selected session after a logout/login.
    1. Login with the ‘Unity’ session and verify that a Unity session is started
    2. Logout
    3. Click on the cog
    4. Check that ‘Unity’ is still selected
    5. Login
    6. Check that the unity session is started
  • If “Ubuntu” is selected, it is still the selected session after a reboot.
    1. Login with the ‘Ubuntu’ session and verify that a wayland session is started
    2. Reboot
    3. Click on the cog
    4. Check that ‘Ubuntu’ is still selected
    5. Login
    6. Check that the wayland session is started
  • If “Ubuntu on Xorg” is selected, it is still the selected session after a reboot.
    1. Login with the ‘Ubuntu on Xorg’ session and verify that an xorg session is started
    2. Reboot
    3. Click on the cog
    4. Check that ‘Ubuntu on Xorg’ is still selected
    5. Login
    6. Check that the xorg session is started
  • If “Unity” is selected, it is still the selected session after a reboot.
    1. Login with the ‘Ubuntu’ session and verify that a wayland session is started
    2. Reboot
    3. Click on the cog
    4. Check that ‘Ubuntu’ is still selected
    5. Login
    6. Check that the wayland session is started
  • Switch between sessions
    1. Select the ‘Ubuntu’ session and login
    2. Verify that a wayland session is started
    3. Logout
    4. Select the ‘Ubuntu on xorg’ session and login
    5. Verify that an xorg session is started
    6. Logout
    7. Select the ‘Ubuntu’ session and login
    8. Verify that a wayland session is started

TODO