Project

General

Profile

Actions

action #33484

closed

[desktop]handle_login should be updated for the scenario of first login

Added by qkzhu almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
2018-03-20
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

record_soft_failure is not necessary in first_boot

bgo#657996 will be recorded as soft failure for all SLE15 tests which use handle_login. The default user of gdm will be selected for the scenario of first login, assert_and_click and record_soft_failure is not necessary in this case.

But for the scenario of log out and re-login we have to use assert_and_click to work around bgo#657996:

I will update the handle_login

Actions #1

Updated by okurz almost 6 years ago

  • Subject changed from handle_login should be updated for the scenario of first login to [desktop]handle_login should be updated for the scenario of first login
Actions #2

Updated by qkzhu almost 6 years ago

  • Status changed from New to In Progress

PR: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/4689
MR: https://gitlab.suse.de/openqa/os-autoinst-needles-sles/merge_requests/783

Update handle_login to workaround bsc#1086425

The default user of gdm will be selected for the scenario of reboot or first boot, we can just press enter to login. But for the scenario of log out and re-login we have to use assert_and_click to work around
bsc#1086425.

  • Use a SUSE bug id instead
  • Use mouse to assert_and_click, record soft failure when the keyboard focus of gdm user is lost
  • Drop mouse_hide since it will lost the keyboard focus even in the scenario of reboot

Actions #4

Updated by qkzhu almost 6 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF