1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-21 21:43:08 +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:
Adam Williamson 2023-02-18 11:47:07 -08:00
parent 5f8876691f
commit 3213bb9043

View File

@ -70,7 +70,13 @@ sub login_user {
}
if ($method ne "unlock") {
# 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);
}
if ($method eq "create") {