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;
# Open the menu
send_key("f10");
assert_and_click("gnome_burger_menu");
# Click on the About item
assert_and_click("eog_menu_about");
wait_still_screen(2);
assert_screen("eog_about_shown");
# Click on Credits
assert_and_click("eog_about_credits");
wait_still_screen(2);
assert_screen("eog_credits_shown");
}

View File

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