action #33484
closed[desktop]handle_login should be updated for the scenario of first login
0%
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
Updated by okurz over 5 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
Updated by qkzhu over 5 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
- Related ticket: https://progress.opensuse.org/issues/33484
- Needles: https://gitlab.suse.de/openqa/os-autoinst-needles-sles/merge_requests/783
Verification run: http://10.67.17.30/tests/327
- Soft failure was recorded in the scenario of log out and re-login: http://10.67.17.30/tests/327#step/test_handle_login/9
- Just press enter to login in the scenario of reboot: http://10.67.17.30/tests/327#step/test_handle_login/19
Updated by qkzhu over 5 years ago
Needles for openSUSE: