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

Add workaround for log filtering issue in cockpit 251

See https://github.com/cockpit-project/cockpit/issues/16243 .
This is a fairly minor issue upstream knows about but will not
be fixed immediately, so we'll add a workaround for it for now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2021-08-19 15:46:45 -07:00
parent d47dfe7f7a
commit 8992d37ce6
3 changed files with 24 additions and 0 deletions

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

View File

@ -21,6 +21,15 @@ sub run {
type_string "info\n";
wait_still_screen 5;
# now click an entry
unless (check_screen "cockpit_logs_entry") {
# in cockpit 251, just hitting enter doesn't apply the change,
# we have to click a button. FIXME: in future this will be
# fixed and we will be able to remove this workaround:
# https://github.com/cockpit-project/cockpit/issues/16243
assert_and_click "cockpit_logs_apply";
record_soft_failure "needed to click to apply filter change - https://github.com/cockpit-project/cockpit/issues/16243";
wait_still_screen 5;
}
assert_and_click "cockpit_logs_entry";
# check we get to the appropriate detail screen
assert_screen "cockpit_logs_detail";