1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 02:13:08 +00:00

Change the way to enter the menu to make tests pass more easily.

This commit is contained in:
Lukáš Růžička 2022-01-24 14:09:25 +01:00
parent d061a5683e
commit a720fd2c75
2 changed files with 2 additions and 4 deletions

View File

@ -9,14 +9,12 @@ sub run {
my $self = shift; my $self = shift;
# Open the menu # Open the menu
send_key("f10"); assert_and_click("gnome_burger_menu");
# Click on the About item # Click on the About item
assert_and_click("eog_menu_about"); assert_and_click("eog_menu_about");
wait_still_screen(2);
assert_screen("eog_about_shown"); assert_screen("eog_about_shown");
# Click on Credits # Click on Credits
assert_and_click("eog_about_credits"); assert_and_click("eog_about_credits");
wait_still_screen(2);
assert_screen("eog_credits_shown"); assert_screen("eog_credits_shown");
} }

View File

@ -10,7 +10,7 @@ sub run {
sleep 2; sleep 2;
# Go to the menu # Go to the menu
send_key("f10"); assert_and_click("gnome_burger_menu");
# Set as background # Set as background
assert_and_click("eog_set_wallpaper"); assert_and_click("eog_set_wallpaper");
# Confirm # Confirm