mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 13:33:08 +00:00
Handle hitting the new Nautilus save as dialog in more places
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
76711fd039
commit
23ebeb2269
@ -10,6 +10,6 @@
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_export_filename"
|
||||
"nautilus_save_filename"
|
||||
]
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 246 KiB After Width: | Height: | Size: 246 KiB |
@ -15,6 +15,10 @@ sub run {
|
||||
assert_and_click("evince_menu_saveas", button => "left", timeout => 30);
|
||||
wait_still_screen(2);
|
||||
|
||||
# if we hit the nautilus save-as screen, we have to click to edit
|
||||
# the filename
|
||||
click_lastmatch if (check_screen "nautilus_save_filename");
|
||||
|
||||
# Type a new name.
|
||||
type_very_safely("alternative");
|
||||
|
||||
|
@ -34,6 +34,9 @@ sub run {
|
||||
# Save the newly created file.
|
||||
send_key("ctrl-s");
|
||||
wait_still_screen(3);
|
||||
# if we hit the nautilus save-as screen, we have to click to edit
|
||||
# the filename
|
||||
click_lastmatch if (check_screen "nautilus_save_filename");
|
||||
# select the entire prefilled name (including extension) to overwrite it
|
||||
send_key("ctrl-a");
|
||||
wait_still_screen(3);
|
||||
|
@ -36,7 +36,7 @@ sub run {
|
||||
assert_and_click("maps_button_export");
|
||||
wait_still_screen(2);
|
||||
# Rename the file and export it
|
||||
assert_and_click("maps_export_filename");
|
||||
assert_and_click("nautilus_save_filename");
|
||||
type_very_safely("exported-map");
|
||||
assert_and_click("maps_button_save");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user