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

Make evince test handle #2183356 (wrong save target on flatpak)

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2023-03-30 16:08:27 -07:00
parent 7b2c9d3e45
commit 278b1e32b0

View File

@ -18,6 +18,13 @@ sub run {
type_very_safely("alternative");
# Click on the Save button
if (get_var("CANNED")) {
# FIXME: as of 2023-03-30 on the flatpak version of evince, the save as
# default target dir is wrong:
# https://bugzilla.redhat.com/show_bug.cgi?id=2183356
# so we need to click into Documents first
assert_and_click("evince_documents", button => "left", timeout => 30);
}
assert_and_click("gnome_button_save_blue", button => "left", timeout => 30);
# Now the document is saved under a different name. We will switch to the