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

More tweaking to GNOME file save - always click the button

Let's not trust hitting enter in just one place but hit the save
button like we do elsewhere (this avoids an awkward issue where
hitting enter doesn't work on the new nautilus version). Also,
let's consolidate the needles under a sensible tag name.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-08-20 16:52:51 -07:00
parent 23ebeb2269
commit 9f6113d581
8 changed files with 9 additions and 24 deletions

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 873,
"ypos": 228,
"width": 44,
"height": 18,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_button_save"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 KiB

View File

@ -10,6 +10,6 @@
], ],
"properties": [], "properties": [],
"tags": [ "tags": [
"gnome_button_save_blue" "gnome_button_save"
] ]
} }

View File

@ -10,6 +10,6 @@
], ],
"properties": [], "properties": [],
"tags": [ "tags": [
"gnome_button_save_blue" "gnome_button_save"
] ]
} }

View File

@ -1,7 +1,7 @@
{ {
"properties": [], "properties": [],
"tags": [ "tags": [
"gnome_button_save_blue" "gnome_button_save"
], ],
"area": [ "area": [
{ {

View File

@ -23,7 +23,7 @@ sub run {
type_very_safely("alternative"); type_very_safely("alternative");
# Click on the Save button # Click on the Save button
assert_and_click("gnome_button_save_blue", button => "left", timeout => 30); assert_and_click("gnome_button_save", button => "left", timeout => 30);
# Now the document is saved under a different name. We will switch to the # Now the document is saved under a different name. We will switch to the
# terminal console to check that it has been created. # terminal console to check that it has been created.

View File

@ -41,7 +41,7 @@ sub run {
send_key("ctrl-a"); send_key("ctrl-a");
wait_still_screen(3); wait_still_screen(3);
type_very_safely "list.md"; type_very_safely "list.md";
send_key("ret"); assert_and_click("gnome_button_save");
assert_screen("gte_file_saved"); assert_screen("gte_file_saved");
# Check that the file has been created # Check that the file has been created
$self->root_console(tty => 3); $self->root_console(tty => 3);

View File

@ -38,7 +38,7 @@ sub run {
# Rename the file and export it # Rename the file and export it
assert_and_click("nautilus_save_filename"); assert_and_click("nautilus_save_filename");
type_very_safely("exported-map"); type_very_safely("exported-map");
assert_and_click("maps_button_save"); assert_and_click("gnome_button_save");
} }
# After the map has been exported, we will open # After the map has been exported, we will open