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:
Adam Williamson 2021-03-23 16:35:24 -07:00
parent a6ea09e4d5
commit 805d303511
2 changed files with 15 additions and 0 deletions

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB