1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-29 09:03:08 +00:00

Make the button be pressed twice if needed.

This commit is contained in:
Lukas Ruzicka 2022-12-06 11:09:24 +01:00
parent 280b929de1
commit a20ebe8898

View File

@ -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.");