diff --git a/tests/applications/nautilus/move_file_into.pm b/tests/applications/nautilus/move_file_into.pm index 623060fb..c65d71c7 100644 --- a/tests/applications/nautilus/move_file_into.pm +++ b/tests/applications/nautilus/move_file_into.pm @@ -41,6 +41,11 @@ sub run { # Click on Select to move the file into the new location. assert_and_click("gnome_select_button"); + # Check that Button was indeed pressed. + if (check_screen("gnome_select_button")) { + click_lastmatch; + } + # Check that the file has been removed from this location. if (check_screen("nautilus_test_file")) { die("The file being moved has not been removed from the original location.");