#146 Develop an automated test for QA:Testcase desktop login
Closed: Fixed 4 years ago by adamwill. Opened 4 years ago by lruzicka.

The test requires to check the following steps:

  • Do a default installation of the Fedora release you wish to test. This is already covered by other OpenQA routines.
  • Create two user accounts. Usually, one user account is created, which leaves us with one more user to create.
  • Clean boot the system and log in with the first user account. This is covered by _graphical_wait_login
  • Log out of the desktop. To implement
  • Log in with the second user account. To implement
  • Try to log in with either account, intentionally entering the wrong password. To implement
  • Test alternative actions - such as shut down, suspend, and restart - instead of logging in, if they are offered in the release being tested. To implement however, hard to say if OpenQA could handle switching off the VM from inside of it.
  • Log in with any account, and test all session management (log out, switch user, shut down, reboot, suspend etc.) activities offered by the desktop. To implement.

Metadata Update from @lruzicka:
- Issue assigned to lruzicka

4 years ago

So I will probably try to solve in the following way:

  1. Boot into the DE and log in with the user test.
  2. Create another user.
  3. Reboot the system using the panel options.
  4. Boot into the GDM.
  5. Try user1 with incorrect password.
  6. Try user2 with incorrect password.
  7. Try user3 with correct password.
  8. Lock the screen.
  9. Switch to user1 and log in.
  10. Log out.
  11. Reboot the system using the GDM options.
  12. Try out other options if is can be done in OpenQA.

What do you think, @adamwill ?

I have opened a pull request #158 to cover this issue.

#158 has been merged, thanks.

Metadata Update from @adamwill:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.

Metadata