mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-25 15:23:08 +00:00
Make the button be pressed twice if needed.
This commit is contained in:
parent
280b929de1
commit
a20ebe8898
@ -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.");
|
||||
|
Loading…
Reference in New Issue
Block a user