From 05a43bdb3cea3d5bbbf5176f36ed66d8287cb856 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 17 Sep 2021 14:33:09 -0700 Subject: [PATCH] Boxes: workaround #2005458 by hitting esc twice (with softfail) Signed-off-by: Adam Williamson --- tests/apps_startstop/gnome/boxes.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/apps_startstop/gnome/boxes.pm b/tests/apps_startstop/gnome/boxes.pm index 4e76cb36..538d407e 100644 --- a/tests/apps_startstop/gnome/boxes.pm +++ b/tests/apps_startstop/gnome/boxes.pm @@ -12,7 +12,11 @@ sub run { start_with_launcher('apps_menu_boxes'); assert_screen 'apps_boxes_tutorial'; send_key 'esc'; - assert_screen 'apps_run_boxes'; + unless (check_screen 'apps_run_boxes', 30) { + record_soft_failure "Single esc didn't clear tutorial - #2005458?"; + send_key 'esc'; + assert_screen 'apps_run_boxes'; + } # Register application register_application("gnome-boxes");