diff --git a/needles/gnome/apps/maps/maps_export_filename-20240820.json b/needles/gnome/apps/maps/maps_export_filename-20240820.json new file mode 100644 index 00000000..51a12de1 --- /dev/null +++ b/needles/gnome/apps/maps/maps_export_filename-20240820.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 718, + "ypos": 632, + "width": 19, + "height": 19, + "type": "match" + } + ], + "properties": [], + "tags": [ + "maps_export_filename" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/maps/maps_export_filename-20240820.png b/needles/gnome/apps/maps/maps_export_filename-20240820.png new file mode 100644 index 00000000..94d84551 Binary files /dev/null and b/needles/gnome/apps/maps/maps_export_filename-20240820.png differ diff --git a/tests/applications/maps/export.pm b/tests/applications/maps/export.pm index 65e3fd3b..b142a4ed 100644 --- a/tests/applications/maps/export.pm +++ b/tests/applications/maps/export.pm @@ -35,11 +35,9 @@ sub run { # wait for the export screen to appear and settle assert_and_click("maps_button_export"); wait_still_screen(2); - # Rename the file and export it. - # The name entry field should have focus already, so we are - # just going to rename the proposed file name. - send_key("ctrl-a"); - type_very_safely("exported-map.png"); + # Rename the file and export it + assert_and_click("maps_export_filename"); + type_very_safely("exported-map"); assert_and_click("maps_button_save"); }