1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-21 21:43:08 +00:00

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

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";