Add alternative cockpit "updated" needle
When we have to restart Cockpit during the update, we don't get the usual "successful" screen after logging back in, we'll have to match on something indicating an update did happen. I wanted to use the little icon next to the package count but it seems to have some kind of problem with anti-aliasing or something, I've created two needles for it and neither matched on the next run of the test. So let's match on this "reboot needed" text instead, I hope it'll always be there when we hit this case. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
a6ea09e4d5
commit
805d303511
15
needles/cockpit/cockpit_updates_updated-reboot-20210323.json
Normal file
15
needles/cockpit/cockpit_updates_updated-reboot-20210323.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"width": 56,
|
||||||
|
"ypos": 282,
|
||||||
|
"type": "match",
|
||||||
|
"height": 19,
|
||||||
|
"xpos": 319
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"cockpit_updates_updated"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/cockpit/cockpit_updates_updated-reboot-20210323.png
Normal file
BIN
needles/cockpit/cockpit_updates_updated-reboot-20210323.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 61 KiB |
Loading…
Reference in New Issue
Block a user