1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-07-25 11:45:43 +00:00

Update cockpit tests and needles for cockpit 337

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2025-04-23 16:40:34 -07:00
parent f95de0a058
commit bc18660a27
59 changed files with 429 additions and 33 deletions

View File

@ -1,16 +0,0 @@
{
"area": [
{
"ypos": 520,
"height": 18,
"type": "match",
"xpos": 235,
"width": 104
}
],
"properties": [],
"tags": [
"anaconda_install_destination_save_passphrase",
"LANGUAGE-arabic"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 180 KiB

View File

@ -1,16 +0,0 @@
{
"area": [
{
"xpos": 238,
"type": "match",
"height": 18,
"ypos": 506,
"width": 104
}
],
"properties": [],
"tags": [
"anaconda_install_destination_save_passphrase",
"LANGUAGE-arabic"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"ypos": 306,
"height": 19,
"type": "match",
"xpos": 802,
"width": 63
}
],
"properties": [],
"tags": [
"autoupdate_planned_day"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"height": 18,
"type": "match",
"ypos": 307,
"xpos": 880,
"width": 42
}
],
"properties": [],
"tags": [
"autoupdate_planned_time"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 756,
"type": "match",
"height": 13,
"ypos": 227,
"width": 92
}
],
"properties": [],
"tags": [
"cockpit_admin_enable"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 109,
"ypos": 389,
"type": "match",
"height": 17,
"xpos": 252
}
],
"properties": [],
"tags": [
"cockpit_admin_password"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"height": 28,
"ypos": 526,
"xpos": 291,
"width": 217
}
],
"properties": [],
"tags": [
"cockpit_main"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"ypos": 552,
"type": "match",
"height": 17,
"xpos": 392,
"width": 93
}
],
"properties": [],
"tags": [
"cockpit_save_changes"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 115,
"xpos": 39,
"type": "match",
"height": 13,
"ypos": 733
}
],
"properties": [],
"tags": [
"cockpit_software_updates"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 57,
"ypos": 421,
"type": "match",
"height": 17,
"xpos": 820
}
],
"properties": [],
"tags": [
"cockpit_updates_all_install"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

View File

@ -0,0 +1,19 @@
{
"area": [
{
"ypos": 303,
"height": 19,
"type": "match",
"xpos": 533,
"width": 44,
"click_point": {
"xpos": 8,
"ypos": 8
}
}
],
"properties": [],
"tags": [
"cockpit_updates_auto_all"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 22,
"ypos": 237,
"height": 20,
"type": "match",
"xpos": 549
}
],
"properties": [],
"tags": [
"cockpit_updates_check"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 40,
"ypos": 315,
"height": 17,
"type": "match",
"xpos": 282
}
],
"properties": [],
"tags": [
"cockpit_updates_dnf_install"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 51,
"xpos": 682,
"ypos": 426,
"height": 19,
"type": "match"
}
],
"properties": [],
"tags": [
"cockpit_updates_restart_ignore"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"ypos": 516,
"type": "match",
"height": 18,
"xpos": 282,
"width": 31
}
],
"properties": [],
"tags": [
"cockpit_join_button"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

View File

@ -0,0 +1,22 @@
{
"area": [
{
"width": 187,
"xpos": 773,
"ypos": 499,
"height": 14,
"type": "match"
},
{
"xpos": 653,
"ypos": 499,
"type": "match",
"height": 13,
"width": 48
}
],
"properties": [],
"tags": [
"cockpit_join_complete"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

View File

@ -0,0 +1,22 @@
{
"area": [
{
"xpos": 773,
"ypos": 499,
"height": 14,
"type": "match",
"width": 193
},
{
"xpos": 652,
"ypos": 499,
"type": "match",
"height": 13,
"width": 50
}
],
"properties": [],
"tags": [
"cockpit_join_complete"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 132,
"ypos": 217,
"height": 24,
"type": "match",
"xpos": 253
}
],
"properties": [],
"tags": [
"cockpit_join_domain"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 81,
"xpos": 771,
"height": 15,
"type": "match",
"ypos": 498
}
],
"properties": [],
"tags": [
"cockpit_join_domain_button"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"height": 68,
"ypos": 255,
"xpos": 110,
"width": 81
}
],
"properties": [],
"tags": [
"cockpit_login"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 36,
"xpos": 38,
"type": "match",
"height": 18,
"ypos": 355
}
],
"properties": [],
"tags": [
"cockpit_logs"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 907,
"ypos": 617,
"height": 15,
"type": "match",
"width": 53
}
],
"properties": [],
"tags": [
"cockpit_logs_entry"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 295,
"type": "match",
"height": 16,
"ypos": 380,
"width": 69
}
],
"properties": [],
"tags": [
"cockpit_logs_detail"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 369,
"ypos": 494,
"height": 12,
"type": "match",
"width": 60
}
],
"properties": [],
"tags": [
"cockpit_logs_priority_text"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 22,
"xpos": 276,
"ypos": 212,
"height": 21,
"type": "match"
}
],
"properties": [],
"tags": [
"cockpit_logs_toggle_filters"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 37,
"height": 13,
"type": "match",
"ypos": 536,
"width": 60
}
],
"properties": [],
"tags": [
"cockpit_services"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 133,
"type": "match",
"height": 28,
"ypos": 605,
"xpos": 270
}
],
"properties": [],
"tags": [
"cockpit_services_detail"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"height": 17,
"ypos": 524,
"xpos": 295,
"width": 67
}
],
"properties": [],
"tags": [
"cockpit_services_entry"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

View File

@ -13,7 +13,12 @@ sub run {
# the date dropdown changes and messes with the button locations, so wait
wait_still_screen 2;
# set priority to info and above in case there are no errors
assert_and_click "cockpit_logs_priority_text";
assert_screen ["cockpit_logs_priority_text", "cockpit_logs_toggle_filters"];
if (match_has_tag "cockpit_logs_toggle_filters") {
click_lastmatch;
assert_screen "cockpit_logs_priority_text";
}
click_lastmatch;
send_key "backspace";
send_key "backspace";
send_key "backspace";