mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-18 00:23:11 +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:
parent
564d0190fd
commit
1cf138ccb2
@ -50,14 +50,8 @@ sub run {
|
||||
assert_screen("gte_file_saved");
|
||||
# Check that the file has been created
|
||||
$self->root_console(tty => 3);
|
||||
# The test started to fail on Silverblue
|
||||
# because the target directory changed.
|
||||
if (get_var("SUBVARIANT") eq "Silverblue") {
|
||||
assert_script_run("ls /home/test/Documents/list.md");
|
||||
}
|
||||
else {
|
||||
assert_script_run("ls /home/test/list.md");
|
||||
}
|
||||
# it might be in either of these places depending on version / release
|
||||
assert_script_run("ls /home/test/Documents/list.md || ls /home/test/list.md");
|
||||
desktop_vt();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user