1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-18 08:33:08 +00:00

gnome-text-editor: allow saved file always to be in either place

It's back in ~/Documents on Rawhide. Let's stop trying to guess
when it's where and just be happy with it being in either place.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-12-17 14:19:57 -08:00
parent 564d0190fd
commit 1cf138ccb2

View File

@ -50,14 +50,8 @@ sub run {
assert_screen("gte_file_saved"); assert_screen("gte_file_saved");
# Check that the file has been created # Check that the file has been created
$self->root_console(tty => 3); $self->root_console(tty => 3);
# The test started to fail on Silverblue # it might be in either of these places depending on version / release
# because the target directory changed. assert_script_run("ls /home/test/Documents/list.md || ls /home/test/list.md");
if (get_var("SUBVARIANT") eq "Silverblue") {
assert_script_run("ls /home/test/Documents/list.md");
}
else {
assert_script_run("ls /home/test/list.md");
}
desktop_vt(); desktop_vt();
} }