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

Add more control instead.

This commit is contained in:
Lukas Ruzicka 2022-12-06 12:20:51 +01:00
parent cb9611e036
commit 85bb1c3364

View File

@ -38,8 +38,6 @@ sub run {
assert_and_click("nautilus_directory_videos"); assert_and_click("nautilus_directory_videos");
wait_still_screen(2); wait_still_screen(2);
# Click on Select to move the file into the new location.
assert_and_click("gnome_select_button");
# Click on Select to move the file into the new location. # Click on Select to move the file into the new location.
assert_and_click("gnome_select_button"); assert_and_click("gnome_select_button");
@ -47,6 +45,9 @@ sub run {
if (check_screen("nautilus_test_file")) { if (check_screen("nautilus_test_file")) {
die("The file being moved has not been removed from the original location."); die("The file being moved has not been removed from the original location.");
} }
elsif (check_screen("gnome_select_button")) {
die("The operation could not be performed correctly");
}
# Go into the root console and verify the operation in the background. # Go into the root console and verify the operation in the background.
$self->root_console(tty => 3); $self->root_console(tty => 3);