Skip to content

Commit

Permalink
Click close button to close opensuse welcome page
Browse files Browse the repository at this point in the history
  • Loading branch information
openQA web UI committed Oct 31, 2024
1 parent 6fa21c5 commit 7d23c48
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lib/x11utils.pm
Original file line number Diff line number Diff line change
Expand Up @@ -553,11 +553,8 @@ sub untick_welcome_on_next_startup {
last if match_has_tag("opensuse-welcome-show-on-boot-unselected");
die "Unable to untick 'Show on next startup'" if $retry == 5;
}
for my $retry (1 .. 5) {
send_key 'alt-f4';
last if check_screen("generic-desktop", timeout => 5);
die "Unable to close openSUSE Welcome screen" if $retry == 5;
}
assert_and_click_until_screen_change('opensuse-welcome-close', 5, 5);
assert_screen("generic-desktop");
}

=head2 handle_welcome_screen
Expand Down

0 comments on commit 7d23c48

Please sign in to comment.