desktop_login: get rid of KDE welcome tour

The KDE welcome tour is getting in the way of the desktop login
test. Try getting rid of it after logging in.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2023-11-27 09:55:34 -08:00
parent 461e211618
commit 1ecbd28f82
1 changed files with 3 additions and 0 deletions

View File

@ -87,6 +87,9 @@ sub login_user {
type_very_safely "$password\n";
check_desktop(timeout => 60) if ($args{checklogin});
wait_still_screen(stilltime => 5, similarity_level => 45);
if ($desktop eq "kde") {
click_lastmatch if (check_screen "getting_started");
}
}
sub check_user_logged_in {