mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-21 18:03:11 +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:
parent
23ebeb2269
commit
9f6113d581
@ -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 |
@ -10,6 +10,6 @@
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"gnome_button_save_blue"
|
||||
"gnome_button_save"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -10,6 +10,6 @@
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"gnome_button_save_blue"
|
||||
"gnome_button_save"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"gnome_button_save_blue"
|
||||
"gnome_button_save"
|
||||
],
|
||||
"area": [
|
||||
{
|
||||
@ -12,4 +12,4 @@
|
||||
"type": "match"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -23,7 +23,7 @@ sub run {
|
||||
type_very_safely("alternative");
|
||||
|
||||
# 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
|
||||
# terminal console to check that it has been created.
|
||||
|
@ -41,7 +41,7 @@ sub run {
|
||||
send_key("ctrl-a");
|
||||
wait_still_screen(3);
|
||||
type_very_safely "list.md";
|
||||
send_key("ret");
|
||||
assert_and_click("gnome_button_save");
|
||||
assert_screen("gte_file_saved");
|
||||
# Check that the file has been created
|
||||
$self->root_console(tty => 3);
|
||||
|
@ -38,7 +38,7 @@ sub run {
|
||||
# Rename the file and export it
|
||||
assert_and_click("nautilus_save_filename");
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user