mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-11 01:24:20 +00:00
gnome-text-editor: also select right directory for nautilus chooser
The nautilus-provided chooser also does not default to Documents as the output directory. Sigh. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
9f6113d581
commit
a7cd9f30db
@ -34,9 +34,14 @@ sub run {
|
|||||||
# Save the newly created file.
|
# Save the newly created file.
|
||||||
send_key("ctrl-s");
|
send_key("ctrl-s");
|
||||||
wait_still_screen(3);
|
wait_still_screen(3);
|
||||||
# if we hit the nautilus save-as screen, we have to click to edit
|
|
||||||
# the filename
|
if (check_screen "nautilus_save_filename") {
|
||||||
click_lastmatch if (check_screen "nautilus_save_filename");
|
# if we hit the nautilus save-as screen, we have to select
|
||||||
|
# the right folder...
|
||||||
|
assert_and_click "nautilus_directory_documents";
|
||||||
|
# then click to edit the filename
|
||||||
|
assert_and_click "nautilus_save_filename";
|
||||||
|
}
|
||||||
# select the entire prefilled name (including extension) to overwrite it
|
# select the entire prefilled name (including extension) to overwrite it
|
||||||
send_key("ctrl-a");
|
send_key("ctrl-a");
|
||||||
wait_still_screen(3);
|
wait_still_screen(3);
|
||||||
|
Loading…
Reference in New Issue
Block a user