Create a test for Gnome Panel.

This commit is contained in:
Lukas Ruzicka 2022-10-13 15:01:53 +02:00 committed by Adam Williamson
parent abf80ad384
commit 7291e3526e
110 changed files with 1139 additions and 0 deletions

View File

@ -59,6 +59,7 @@ for testpath in testpaths:
# versioned backgrounds and release IDs
for rel in range(30, 100):
testliterals.append(f"{rel}_background")
testliterals.append(f"{rel}_background_dark")
testliterals.append(f"version_{rel}_ident")
# anaconda id needles, using tell_source
for source in ("workstation", "generic", "server"):
@ -128,6 +129,10 @@ for location in ("vilnius", "denali", "wellington", "poysdorf", "pune"):
testliterals.append(f"maps_select_{location}")
testliterals.append(f"maps_found_{location}")
testliterals.append(f"maps_info_{location}")
# Needles for Gnome Panel
for percentage in ("zero", "fifty", "hundred"):
testliterals.append(f"panel_volume_bar_{percentage}")
testliterals.append(f"panel_volume_indicator_{percentage}")
# variable-y in custom_change_device but we only have one value
testliterals.append("anaconda_part_device_sda")
# for Anaconda help related needles.

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"xpos": 559,
"width": 220,
"height": 144,
"ypos": 365
}
],
"properties": [],
"tags": [
"37_background_dark"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 559,
"ypos": 365,
"width": 220,
"height": 144,
"type": "match"
}
],
"properties": [],
"tags": [
"37_background_dark"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 583,
"ypos": 374,
"width": 188,
"height": 101,
"type": "match"
}
],
"properties": [],
"tags": [
"38_background_dark"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 856 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 583,
"ypos": 353,
"width": 255,
"height": 181,
"type": "match"
}
],
"properties": [],
"tags": [
"37_background_dark"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"xpos": 617,
"ypos": 509,
"width": 138,
"height": 23
}
],
"properties": [],
"tags": [
"panel_add_world_clocks"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 422 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"panel_add_world_clocks"
],
"area": [
{
"xpos": 617,
"ypos": 509,
"width": 138,
"height": 23,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"height": 29,
"ypos": 424,
"xpos": 618,
"width": 72
}
],
"properties": [],
"tags": [
"panel_area_today"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 422 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"panel_area_today"
],
"area": [
{
"xpos": 618,
"ypos": 424,
"width": 72,
"height": 29,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

View File

@ -0,0 +1,22 @@
{
"area": [
{
"height": 49,
"width": 146,
"ypos": 61,
"xpos": 606,
"type": "match"
},
{
"type": "match",
"height": 45,
"ypos": 215,
"width": 257,
"xpos": 602
}
],
"properties": [],
"tags": [
"panel_calendar_shown"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 422 KiB

View File

@ -0,0 +1,22 @@
{
"properties": [],
"tags": [
"panel_calendar_shown"
],
"area": [
{
"xpos": 606,
"ypos": 61,
"width": 146,
"height": 49,
"type": "match"
},
{
"xpos": 602,
"ypos": 215,
"width": 257,
"height": 45,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"ypos": 6,
"width": 89,
"xpos": 923,
"type": "match",
"height": 23
}
],
"properties": [],
"tags": [
"panel_controls"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"ypos": 6,
"height": 23,
"width": 89,
"type": "match",
"xpos": 923
}
],
"properties": [],
"tags": [
"panel_controls"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 923,
"ypos": 6,
"width": 89,
"height": 23,
"type": "match"
}
],
"properties": [],
"tags": [
"panel_controls"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 931,
"ypos": 7,
"width": 80,
"height": 21,
"type": "match"
}
],
"properties": [],
"tags": [
"panel_controls"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 928,
"ypos": 4,
"width": 82,
"height": 26,
"type": "match"
}
],
"properties": [],
"tags": [
"panel_controls"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 648,
"ypos": 224,
"width": 98,
"height": 23,
"type": "match"
}
],
"properties": [],
"tags": [
"panel_ctrl_darkmode"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 721 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"ypos": 225,
"width": 98,
"xpos": 650,
"height": 22,
"type": "match"
}
],
"properties": [],
"tags": [
"panel_ctrl_darkmode"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 782 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 648,
"ypos": 211,
"width": 103,
"height": 23,
"type": "match"
}
],
"properties": [],
"tags": [
"panel_ctrl_darkmode"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 648,
"ypos": 208,
"width": 106,
"height": 27,
"type": "match"
}
],
"properties": [],
"tags": [
"panel_ctrl_darkmode"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"height": 20,
"width": 20,
"ypos": 69,
"xpos": 917
}
],
"properties": [],
"tags": [
"panel_ctrl_lockscreen"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 721 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"panel_ctrl_lockscreen"
],
"area": [
{
"xpos": 917,
"ypos": 69,
"width": 24,
"height": 20,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"height": 27,
"width": 71,
"ypos": 162,
"xpos": 649,
"type": "match"
}
],
"properties": [],
"tags": [
"panel_ctrl_networks"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 721 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"panel_ctrl_networks"
],
"area": [
{
"xpos": 647,
"ypos": 156,
"width": 71,
"height": 27,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"height": 21,
"xpos": 649,
"ypos": 165,
"width": 70,
"type": "match"
}
],
"properties": [],
"tags": [
"panel_ctrl_networks"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 720 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"panel_ctrl_networks"
],
"area": [
{
"xpos": 647,
"ypos": 159,
"width": 72,
"height": 23,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"height": 20,
"xpos": 643,
"ypos": 67,
"width": 23,
"type": "match"
}
],
"properties": [],
"tags": [
"panel_ctrl_screenshot"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 722 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"panel_ctrl_screenshot"
],
"area": [
{
"xpos": 645,
"ypos": 68,
"width": 23,
"height": 20,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"height": 22,
"width": 97,
"ypos": 6,
"xpos": 465
}
],
"properties": [],
"tags": [
"panel_datetime"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 784 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"panel_datetime"
],
"area": [
{
"xpos": 465,
"ypos": 6,
"width": 97,
"height": 22,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 469 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 97,
"ypos": 6,
"xpos": 465,
"height": 22,
"type": "match"
}
],
"properties": [],
"tags": [
"panel_datetime"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 784 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 478,
"ypos": 298,
"width": 60,
"height": 40,
"type": "match"
}
],
"properties": [],
"tags": [
"panel_screen_locked"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"height": 34,
"xpos": 491,
"ypos": 569,
"width": 42
}
],
"properties": [],
"tags": [
"panel_screenshot_screen"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 588 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"panel_screenshot_screen"
],
"area": [
{
"xpos": 491,
"ypos": 569,
"width": 42,
"height": 34,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"panel_screenshot_trigger"
],
"area": [
{
"xpos": 483,
"ypos": 643,
"width": 57,
"height": 56,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"height": 22,
"ypos": 567,
"xpos": 616,
"width": 184,
"type": "match"
}
],
"properties": [],
"tags": [
"panel_select_weather_location"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 422 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"panel_select_weather_location"
],
"area": [
{
"xpos": 616,
"ypos": 567,
"width": 184,
"height": 22,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"panel_slider_donotdisturb"
],
"area": [
{
"xpos": 276,
"ypos": 577,
"width": 55,
"height": 31,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"panel_slider_donotdisturb_active"
],
"area": [
{
"xpos": 163,
"ypos": 579,
"width": 166,
"height": 26,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"panel_symbol_bell_off"
],
"area": [
{
"xpos": 571,
"ypos": 6,
"width": 44,
"height": 23,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"height": 30,
"ypos": 108,
"width": 357,
"type": "match",
"xpos": 637,
"match": 60
}
],
"properties": [],
"tags": [
"panel_volume_bar_fifty"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"height": 30,
"ypos": 109,
"width": 357,
"xpos": 640,
"type": "match"
}
],
"properties": [],
"tags": [
"panel_volume_bar_fifty"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 463 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 635,
"ypos": 108,
"width": 357,
"height": 30,
"type": "match"
}
],
"properties": [],
"tags": [
"panel_volume_bar_fifty"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"height": 25,
"ypos": 110,
"width": 357,
"xpos": 639,
"type": "match",
"match": 60
}
],
"properties": [],
"tags": [
"panel_volume_bar_hundred"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"ypos": 111,
"xpos": 640,
"width": 357,
"height": 25
}
],
"properties": [],
"tags": [
"panel_volume_bar_hundred"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 469 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 637,
"ypos": 110,
"width": 354,
"height": 25,
"type": "match"
}
],
"properties": [],
"tags": [
"panel_volume_bar_hundred"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"height": 30,
"ypos": 108,
"width": 358,
"xpos": 640
}
],
"properties": [],
"tags": [
"panel_volume_bar_zero"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 458 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 637,
"ypos": 107,
"width": 353,
"height": 30,
"type": "match"
}
],
"properties": [],
"tags": [
"panel_volume_bar_zero"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 960,
"ypos": 6,
"width": 21,
"height": 21,
"type": "match"
}
],
"properties": [],
"tags": [
"panel_volume_indicator_fifty"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 959,
"ypos": 5,
"width": 23,
"height": 23,
"type": "match"
}
],
"properties": [],
"tags": [
"panel_volume_indicator_hundred"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 928,
"ypos": 7,
"width": 83,
"height": 21,
"type": "match"
}
],
"properties": [],
"tags": [
"panel_volume_indicator_zero"
]
}

Some files were not shown because too many files have changed in this diff Show More