From cf969061cef3ba094666a266824085b74f580cba Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 4 Jul 2022 10:07:13 -0700 Subject: [PATCH] Wait for Discover to run before maximizing it Signed-off-by: Adam Williamson --- tests/desktop_update_graphical.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/desktop_update_graphical.pm b/tests/desktop_update_graphical.pm index 44841318..700f9f8c 100644 --- a/tests/desktop_update_graphical.pm +++ b/tests/desktop_update_graphical.pm @@ -18,7 +18,10 @@ sub run { # run the updater if ($desktop eq 'kde') { menu_launch_type('discover'); - # maximize it to make sure we see the Updates entry + # Wait for it to run and maximize it to make sure we see the + # Updates entry + assert_screen('discover_runs'); + wait_still_screen 2; send_key "super-pgup"; } else {