KDE start/stop krfb: dismiss Wallet window if it shows up

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2023-10-17 09:15:21 -07:00
parent c697ca171d
commit f36d04e650
1 changed files with 5 additions and 1 deletions

View File

@ -11,7 +11,11 @@ sub run {
# Start the application
menu_launch_type 'krfb';
# Check that it is started
assert_screen 'krfb_runs', timeout => 60;
assert_screen ['krfb_runs', 'kde_cancel_button'], timeout => 60;
if (match_has_tag 'kde_cancel_button') {
click_lastmatch;
assert_screen 'krfb_runs';
}
wait_still_screen(3);
# close the "remote control requested" window if shown
send_key "esc";