mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-07-13 09:01:34 +00:00
desktop_login: give logout longer, but soft fail
Logout seems to be taking a long time in Rawhide currently. Give it longer to run, but soft fail. I'll add a bug link once I've investigated and filed one. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
5f8876691f
commit
3213bb9043
@ -70,7 +70,13 @@ sub login_user {
|
|||||||
}
|
}
|
||||||
if ($method ne "unlock") {
|
if ($method ne "unlock") {
|
||||||
# When we do not just want to unlock the screen, we need to select a user.
|
# When we do not just want to unlock the screen, we need to select a user.
|
||||||
assert_and_click "login_$user";
|
if (check_screen "login_$user", 30) {
|
||||||
|
click_lastmatch;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
record_soft_failure "logout seems to be taking too long";
|
||||||
|
assert_and_click "login_$user";
|
||||||
|
}
|
||||||
wait_still_screen(stilltime => 5, similarity_level => 45);
|
wait_still_screen(stilltime => 5, similarity_level => 45);
|
||||||
}
|
}
|
||||||
if ($method eq "create") {
|
if ($method eq "create") {
|
||||||
|
Loading…
Reference in New Issue
Block a user