diff --git a/tests/applications/eog/pic_to_wallpaper.pm b/tests/applications/eog/pic_to_wallpaper.pm index dd67a166..0ce4b50e 100644 --- a/tests/applications/eog/pic_to_wallpaper.pm +++ b/tests/applications/eog/pic_to_wallpaper.pm @@ -13,11 +13,15 @@ sub run { assert_and_click("gnome_burger_menu"); # Set as background assert_and_click("eog_set_wallpaper"); + wait_still_screen(3); + # Check that the dialogue has appeared + assert_screen("eog_wallpaper_set_window"); # Confirm send_key("tab"); send_key("ret"); # Close the application send_key("ctrl-q"); + wait_still_screen(3); # Check that the wallpaper was set assert_screen("eog_image_background");