Skip to content

Commit

Permalink
Rerun three times to get expected fltk screen
Browse files Browse the repository at this point in the history
  • Loading branch information
openQA web UI committed Oct 10, 2024
1 parent 3bbf832 commit 03d5986
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/x11/toolkits/fltk.pm
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,15 @@ sub run {

assert_script_run 'make fltk';
script_run './fltk', 0;
mouse_drag(340, 180, 0, 0);
assert_screen [qw(ui-toolkit-fltk ui-toolkit-fltk-nomsg-display)];
if (match_has_tag 'ui-toolkit-fltk-nomsg-display') {
wait_screen_change { send_key 'alt-f4' };
script_run './fltk', 0;
mouse_drag(340, 180, 0, 0);
assert_screen 'ui-toolkit-fltk';
}
assert_screen('ui-toolkit-fltk');
wait_screen_change { send_key 'alt-f4' };
assert_script_run '$(exit $?)';

Expand Down

0 comments on commit 03d5986

Please sign in to comment.