Skip to content

Commit

Permalink
Merge pull request os-autoinst#20972 from dzedro/s390x
Browse files Browse the repository at this point in the history
gnome_control_center: Try to start again if broken
  • Loading branch information
dzedro authored Jan 16, 2025
2 parents 584180b + afd8e13 commit f31bb42
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/x11/gnome_control_center.pm
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ sub run {
mouse_hide(1);
# for timeout selection see bsc#965857
x11_start_program('gnome-control-center', match_timeout => 120);
if (match_has_tag 'gnome-control-center-broken') {
send_key 'alt-f4';
wait_still_screen;
x11_start_program('gnome-control-center', match_timeout => 120);
}
# The gnome control center updated, the work flow for non-default page
# will be same as gnome-control-center-new-layout.
if (match_has_tag('gnome-control-center-new-layout') || match_has_tag('gnome-control-center-detail-layout')) {
Expand Down

0 comments on commit f31bb42

Please sign in to comment.