From a26d39e104bcfbae147315bdac7c1b1ab8983658 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20R=C5=AF=C5=BEi=C4=8Dka?= Date: Tue, 25 Jan 2022 11:21:04 +0100 Subject: [PATCH] Enhance the pic_to_wallpaper --- tests/applications/eog/pic_to_wallpaper.pm | 4 ++++ 1 file changed, 4 insertions(+) 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");