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

Fix the Maps

- add needles
- update export.pm
This commit is contained in:
Lukáš Růžička 2024-07-10 15:09:49 +02:00
parent a4218d9003
commit 6f9288634a
35 changed files with 284 additions and 2 deletions

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 442,
"ypos": 385,
"height": 102,
"width": 141,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_exported_map"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 582 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"width": 137,
"ypos": 365,
"xpos": 443,
"height": 117
}
],
"properties": [],
"tags": [
"maps_found_brno"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 580 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 146,
"type": "match",
"height": 107,
"xpos": 382,
"ypos": 354
}
],
"properties": [],
"tags": [
"maps_found_denali"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"height": 129,
"xpos": 421,
"ypos": 361,
"width": 150,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_found_poysdorf"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"width": 212,
"ypos": 359,
"xpos": 392,
"height": 128
}
],
"properties": [],
"tags": [
"maps_found_pune"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 419 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 192,
"type": "match",
"height": 140,
"xpos": 406,
"ypos": 356
}
],
"properties": [],
"tags": [
"maps_found_vilnius"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"height": 119,
"xpos": 401,
"ypos": 349,
"width": 198,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_found_wellington"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 KiB

View File

@ -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"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 489 KiB

View 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"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 636 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 197,
"type": "match",
"height": 162,
"xpos": 407,
"ypos": 419
}
],
"properties": [],
"tags": [
"maps_map_zoomed"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 585 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"ypos": 354,
"xpos": 347,
"height": 318,
"type": "match",
"width": 102
}
],
"properties": [],
"tags": [
"maps_route_bike_shown"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 80,
"type": "match",
"height": 309,
"xpos": 355,
"ypos": 371
}
],
"properties": [],
"tags": [
"maps_route_car_shown"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"height": 24,
"xpos": 853,
"ypos": 97,
"width": 23,
"type": "match",
"match": 94
}
],
"properties": [],
"tags": [
"maps_route_type_car"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"height": 147,
"xpos": 319,
"ypos": 417,
"width": 73,
"type": "match"
}
],
"properties": [],
"tags": [
"maps_route_walk_shown"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"width": 157,
"height": 61,
"ypos": 699,
"xpos": 5
}
],
"properties": [],
"tags": [
"maps_scale_off"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 578 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 151,
"type": "match",
"height": 38,
"xpos": 1,
"ypos": 724
}
],
"properties": [],
"tags": [
"maps_scale_on"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 579 KiB

View File

@ -13,7 +13,7 @@ sub run {
assert_and_click("gnome_burger_menu"); assert_and_click("gnome_burger_menu");
assert_and_click("maps_menu_export"); assert_and_click("maps_menu_export");
# wait for the export screen to appear and settle # wait for the export screen to appear and settle
assert_screen("maps_button_export"); assert_and_click("maps_button_export");
wait_still_screen(2); wait_still_screen(2);
# Rename the file and export it. # Rename the file and export it.
@ -21,7 +21,7 @@ sub run {
# just going to rename the proposed file name. # just going to rename the proposed file name.
send_key("ctrl-a"); send_key("ctrl-a");
type_very_safely("exported-map.png"); 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 # After the map has been exported, we will open
# it in an image viewer to see that it is correct. # it in an image viewer to see that it is correct.