From a984674e9b27d4faedd3674e8c7b8e65f560a519 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 1 Mar 2023 14:10:00 -0800 Subject: [PATCH] add an 'esc' to krfb startstop test to deal with a dialog Signed-off-by: Adam Williamson --- tests/apps_startstop/kde/krfb.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/apps_startstop/kde/krfb.pm b/tests/apps_startstop/kde/krfb.pm index 89741a30..86c22728 100644 --- a/tests/apps_startstop/kde/krfb.pm +++ b/tests/apps_startstop/kde/krfb.pm @@ -13,6 +13,8 @@ sub run { # Check that it is started assert_screen 'krfb_runs', timeout => 60; wait_still_screen(3); + # close the "remote control requested" window if shown + send_key "esc"; # Close the application quit_with_shortcut(); }