mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-22 05:53:09 +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:
parent
d47dfe7f7a
commit
8992d37ce6
15
needles/cockpit/cockpit_logs_apply-20210819.json
Normal file
15
needles/cockpit/cockpit_logs_apply-20210819.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 854,
|
||||||
|
"ypos": 251,
|
||||||
|
"width": 20,
|
||||||
|
"height": 23,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"cockpit_logs_apply"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/cockpit/cockpit_logs_apply-20210819.png
Normal file
BIN
needles/cockpit/cockpit_logs_apply-20210819.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 89 KiB |
@ -21,6 +21,15 @@ sub run {
|
|||||||
type_string "info\n";
|
type_string "info\n";
|
||||||
wait_still_screen 5;
|
wait_still_screen 5;
|
||||||
# now click an entry
|
# 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";
|
assert_and_click "cockpit_logs_entry";
|
||||||
# check we get to the appropriate detail screen
|
# check we get to the appropriate detail screen
|
||||||
assert_screen "cockpit_logs_detail";
|
assert_screen "cockpit_logs_detail";
|
||||||
|
Loading…
Reference in New Issue
Block a user