m (first user -> other user, because it depends on how many times the tester switched accounts (odd or even times)) |
(make scenario 2 clearer - the second user is used for testing all switching methods) |
||
Line 35: | Line 35: | ||
# Open one or more applications. | # Open one or more applications. | ||
# Optionally open or create some content in them. | # Optionally open or create some content in them. | ||
# Identify all possible options to switch the users, e.g. menu item, locked screen, or login screen | # Identify all possible options to switch the users, e.g. menu item, locked screen, or login screen. | ||
# | # Use all those identified options to switch to a second user account (open some applications there as well) and back to the first user account. | ||
# Check that all applications are still running as they were before, after each switch, in both accounts. | |||
# Check that all applications are still running as they were before. | |||
# Close all sessions. | # Close all sessions. | ||
Revision as of 11:59, 20 May 2020
Description
This test case tests whether user switching works correctly, i.e. it is possible, in case one user is logged in a system session, another user (or users) can log onto the system and use their own session in parallel with the first user without affecting the original session in any way.
User switching in this context does not represent switching between a desktop session and a virtual console, nor it represents using su or sudo commands to acquire different user identities on a terminal session. Also note, that this test case does not cover switching different between different desktop environments.
Setup
- Create a default installation of the Fedora release and flavor (Workstation, KDE) you wish to test.
- Create two user accounts.
- Clean boot the system.
How to test
Scenario 1
- Log in with the first user account.
- Check if the correct user has been logged in.
- Open one or more applications.
- Optionally open or create some content in them.
- Use the system menu to switch users (switch users usually is located along reboot and shutdown menu items)
- Log in with the second user account.
- Open one or more applications.
- Switch to the first user again.
- Check that all applications are still running as they were before.
- Switch between the users several times.
- Log out of the current session.
- Try to reboot the system.
- Check that a warning dialog appears, informing you that the other user is still logged in and his session data might be lost.
- Confirm the reboot.
Scenario 2
- Log in with the first user account.
- Check if the correct user has been logged in.
- Open one or more applications.
- Optionally open or create some content in them.
- Identify all possible options to switch the users, e.g. menu item, locked screen, or login screen.
- Use all those identified options to switch to a second user account (open some applications there as well) and back to the first user account.
- Check that all applications are still running as they were before, after each switch, in both accounts.
- Close all sessions.
Scenario 3
- Log in with the first user account.
- Check if the correct user has been logged in.
- Open one or more applications.
- Optionally open or create some content in them.
- Switch to the second user.
- Do some activity in your session and log out.
- Log in again as the same (second) user.
- Repeat this process several times (steps 6 to 7).
- Switch to the first user again.
- Check that all applications are still running as they were before.
- Close all sessions.
Scenario 4 (optional)
- Try switching more than two users.
Expected Results
- When switching users, the second user must be able to log in and another desktop session must start and function fully.
- When returning to a previous session, the particular user must be able to log back and the session's previous status-quo must be restored, i.e. all applications are still running as they were before the switch.
- When trying to reboot or power-off a system with logged-in users, a warning message about possible consequences must appear and needs to be confirmed out before rebooting or powering off.
- Problems with logging in and out, as well as with rebooting or powering off the system, are out of scope of this test, but they would automatically fail the QA:Testcase_desktop_login test case.