1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-02-01 13:13:08 +00:00

Add an existence check for the file even in gui.

This commit is contained in:
Lukas Ruzicka 2022-12-06 10:48:41 +01:00
parent bf2f8d7305
commit 280b929de1

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 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.");
}
# Go into the root console and verify the operation in the background.
$self->root_console(tty => 3);