diff --git a/tests/applications/gnome-text-editor/new_file.pm b/tests/applications/gnome-text-editor/new_file.pm index dc2f784c..23b8bd39 100644 --- a/tests/applications/gnome-text-editor/new_file.pm +++ b/tests/applications/gnome-text-editor/new_file.pm @@ -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(); }