Fix the Maps
- add needles - update export.pm
15
needles/gnome/apps/maps/maps_button_save.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 873,
|
||||
"ypos": 228,
|
||||
"width": 44,
|
||||
"height": 18,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_button_save"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/maps/maps_button_save.png
Normal file
After Width: | Height: | Size: 232 KiB |
15
needles/gnome/apps/maps/maps_exported_map-20240710.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 442,
|
||||
"ypos": 385,
|
||||
"height": 102,
|
||||
"width": 141,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_exported_map"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/maps/maps_exported_map-20240710.png
Normal file
After Width: | Height: | Size: 582 KiB |
15
needles/gnome/apps/maps/maps_found_brno-20240710.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"type": "match",
|
||||
"width": 137,
|
||||
"ypos": 365,
|
||||
"xpos": 443,
|
||||
"height": 117
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_found_brno"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/maps/maps_found_brno-20240710.png
Normal file
After Width: | Height: | Size: 580 KiB |
15
needles/gnome/apps/maps/maps_found_denali-20240710.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 146,
|
||||
"type": "match",
|
||||
"height": 107,
|
||||
"xpos": 382,
|
||||
"ypos": 354
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_found_denali"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/maps/maps_found_denali-20240710.png
Normal file
After Width: | Height: | Size: 24 KiB |
15
needles/gnome/apps/maps/maps_found_poysdorf-20240710.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 129,
|
||||
"xpos": 421,
|
||||
"ypos": 361,
|
||||
"width": 150,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_found_poysdorf"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/maps/maps_found_poysdorf-20240710.png
Normal file
After Width: | Height: | Size: 215 KiB |
15
needles/gnome/apps/maps/maps_found_pune-20240710.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"type": "match",
|
||||
"width": 212,
|
||||
"ypos": 359,
|
||||
"xpos": 392,
|
||||
"height": 128
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_found_pune"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/maps/maps_found_pune-20240710.png
Normal file
After Width: | Height: | Size: 419 KiB |
15
needles/gnome/apps/maps/maps_found_vilnius-20240710.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 192,
|
||||
"type": "match",
|
||||
"height": 140,
|
||||
"xpos": 406,
|
||||
"ypos": 356
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_found_vilnius"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/maps/maps_found_vilnius-20240710.png
Normal file
After Width: | Height: | Size: 418 KiB |
15
needles/gnome/apps/maps/maps_found_wellington-20240710.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 119,
|
||||
"xpos": 401,
|
||||
"ypos": 349,
|
||||
"width": 198,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_found_wellington"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/maps/maps_found_wellington-20240710.png
Normal file
After Width: | Height: | Size: 244 KiB |
@ -0,0 +1,34 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"ypos": 42,
|
||||
"xpos": 241,
|
||||
"height": 55,
|
||||
"type": "match",
|
||||
"width": 96
|
||||
},
|
||||
{
|
||||
"ypos": 568,
|
||||
"xpos": 451,
|
||||
"height": 71,
|
||||
"type": "match",
|
||||
"width": 91
|
||||
},
|
||||
{
|
||||
"type": "match",
|
||||
"width": 90,
|
||||
"ypos": 744,
|
||||
"xpos": 378,
|
||||
"height": 22
|
||||
}
|
||||
],
|
||||
"properties": [
|
||||
{
|
||||
"name": "workaround",
|
||||
"value": "https://gitlab.gnome.org/GNOME/gnome-maps/-/issues/693"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"maps_info_poysdorf"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/maps/maps_info_poysdorf-cutoff-20240710.png
Normal file
After Width: | Height: | Size: 489 KiB |
22
needles/gnome/apps/maps/maps_info_vilnius-20240710.json
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 98,
|
||||
"type": "match",
|
||||
"xpos": 381,
|
||||
"ypos": 187,
|
||||
"height": 60
|
||||
},
|
||||
{
|
||||
"type": "match",
|
||||
"width": 52,
|
||||
"ypos": 101,
|
||||
"xpos": 457,
|
||||
"height": 36
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_info_vilnius"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/maps/maps_info_vilnius-20240710.png
Normal file
After Width: | Height: | Size: 636 KiB |
15
needles/gnome/apps/maps/maps_map_zoomed-20240710.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 197,
|
||||
"type": "match",
|
||||
"height": 162,
|
||||
"xpos": 407,
|
||||
"ypos": 419
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_map_zoomed"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/maps/maps_map_zoomed-20240710.png
Normal file
After Width: | Height: | Size: 585 KiB |
15
needles/gnome/apps/maps/maps_route_bike_shown-20240710.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"ypos": 354,
|
||||
"xpos": 347,
|
||||
"height": 318,
|
||||
"type": "match",
|
||||
"width": 102
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_route_bike_shown"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/maps/maps_route_bike_shown-20240710.png
Normal file
After Width: | Height: | Size: 230 KiB |
15
needles/gnome/apps/maps/maps_route_car_shown-20240710.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 80,
|
||||
"type": "match",
|
||||
"height": 309,
|
||||
"xpos": 355,
|
||||
"ypos": 371
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_route_car_shown"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/maps/maps_route_car_shown-20240710.png
Normal file
After Width: | Height: | Size: 153 KiB |
16
needles/gnome/apps/maps/maps_route_type_car-20240710.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 24,
|
||||
"xpos": 853,
|
||||
"ypos": 97,
|
||||
"width": 23,
|
||||
"type": "match",
|
||||
"match": 94
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_route_type_car"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/maps/maps_route_type_car-20240710.png
Normal file
After Width: | Height: | Size: 150 KiB |
15
needles/gnome/apps/maps/maps_route_walk_shown-20240710.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 147,
|
||||
"xpos": 319,
|
||||
"ypos": 417,
|
||||
"width": 73,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_route_walk_shown"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/maps/maps_route_walk_shown-20240710.png
Normal file
After Width: | Height: | Size: 164 KiB |
15
needles/gnome/apps/maps/maps_scale_off-20240710.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"type": "match",
|
||||
"width": 157,
|
||||
"height": 61,
|
||||
"ypos": 699,
|
||||
"xpos": 5
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_scale_off"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/maps/maps_scale_off-20240710.png
Normal file
After Width: | Height: | Size: 578 KiB |
15
needles/gnome/apps/maps/maps_scale_on-20240710.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 151,
|
||||
"type": "match",
|
||||
"height": 38,
|
||||
"xpos": 1,
|
||||
"ypos": 724
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_scale_on"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/maps/maps_scale_on-20240710.png
Normal file
After Width: | Height: | Size: 579 KiB |
@ -13,7 +13,7 @@ sub run {
|
||||
assert_and_click("gnome_burger_menu");
|
||||
assert_and_click("maps_menu_export");
|
||||
# wait for the export screen to appear and settle
|
||||
assert_screen("maps_button_export");
|
||||
assert_and_click("maps_button_export");
|
||||
wait_still_screen(2);
|
||||
|
||||
# Rename the file and export it.
|
||||
@ -21,7 +21,7 @@ sub run {
|
||||
# just going to rename the proposed file name.
|
||||
send_key("ctrl-a");
|
||||
type_very_safely("exported-map.png");
|
||||
assert_and_click("maps_button_export");
|
||||
assert_and_click("maps_button_save");
|
||||
|
||||
# After the map has been exported, we will open
|
||||
# it in an image viewer to see that it is correct.
|
||||
|