Update cockpit needles and autoupdate test for 234
Auto-update time is shown as '6:00' not '06:00' now, so trim the needle to match both. Signed-off-by: Adam Williamson <awilliam@redhat.com>
20
needles/cockpit/autoupdate_planned_day-nospace-20201215.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"type": "match",
|
||||
"ypos": 309,
|
||||
"height": 19,
|
||||
"xpos": 822,
|
||||
"width": 68
|
||||
}
|
||||
],
|
||||
"properties": [
|
||||
{
|
||||
"name": "workaround",
|
||||
"value": "\"everyday\" without a space is bad English in this context: https://github.com/cockpit-project/cockpit/issues/15048"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"autoupdate_planned_day"
|
||||
]
|
||||
}
|
BIN
needles/cockpit/autoupdate_planned_day-nospace-20201215.png
Normal file
After Width: | Height: | Size: 50 KiB |
@ -1,15 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 704,
|
||||
"type": "match",
|
||||
"height": 18,
|
||||
"width": 50,
|
||||
"ypos": 359
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"autoupdate_planned_time"
|
||||
]
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 18,
|
||||
"type": "match",
|
||||
"width": 35,
|
||||
"xpos": 715,
|
||||
"ypos": 359
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"autoupdate_planned_time"
|
||||
]
|
||||
}
|
15
needles/cockpit/cockpit_save_changes-20201215.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 398,
|
||||
"ypos": 483,
|
||||
"width": 100,
|
||||
"height": 17,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"cockpit_save_changes"
|
||||
]
|
||||
}
|
BIN
needles/cockpit/cockpit_save_changes-20201215.png
Normal file
After Width: | Height: | Size: 60 KiB |
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 939,
|
||||
"type": "match",
|
||||
"ypos": 267,
|
||||
"height": 21,
|
||||
"width": 37
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"cockpit_updates_auto"
|
||||
]
|
||||
}
|
BIN
needles/cockpit/cockpit_updates_auto-cockpit234-20201215.png
Normal file
After Width: | Height: | Size: 49 KiB |
19
needles/cockpit/cockpit_updates_auto_all-20201215.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 535,
|
||||
"type": "match",
|
||||
"ypos": 287,
|
||||
"height": 19,
|
||||
"width": 43,
|
||||
"click_point": {
|
||||
"xpos": 8,
|
||||
"ypos": 8
|
||||
}
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"cockpit_updates_auto_all"
|
||||
]
|
||||
}
|
BIN
needles/cockpit/cockpit_updates_auto_all-20201215.png
Normal file
After Width: | Height: | Size: 53 KiB |
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 22,
|
||||
"xpos": 555,
|
||||
"height": 20,
|
||||
"type": "match",
|
||||
"ypos": 266
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"cockpit_updates_check"
|
||||
]
|
||||
}
|
BIN
needles/cockpit/cockpit_updates_check-cockpit234-20201215.png
Normal file
After Width: | Height: | Size: 71 KiB |
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 260,
|
||||
"height": 20,
|
||||
"type": "match",
|
||||
"ypos": 307,
|
||||
"width": 24
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"cockpit_updates_updated"
|
||||
]
|
||||
}
|
BIN
needles/cockpit/cockpit_updates_updated-cockpit234-20201215.png
Normal file
After Width: | Height: | Size: 60 KiB |
15
needles/cockpit/login-cockpit234-20201215.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 227,
|
||||
"height": 77,
|
||||
"ypos": 176,
|
||||
"type": "match",
|
||||
"xpos": 575
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"cockpit_login"
|
||||
]
|
||||
}
|
BIN
needles/cockpit/login-cockpit234-20201215.png
Normal file
After Width: | Height: | Size: 218 KiB |
15
needles/cockpit/logs_entry-setroubleshoot-20201215.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"type": "match",
|
||||
"ypos": 524,
|
||||
"height": 13,
|
||||
"xpos": 860,
|
||||
"width": 95
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"cockpit_logs_entry"
|
||||
]
|
||||
}
|
BIN
needles/cockpit/logs_entry-setroubleshoot-20201215.png
Normal file
After Width: | Height: | Size: 98 KiB |
@ -21,7 +21,13 @@ sub run {
|
||||
# Switch on automatic updates
|
||||
assert_and_click 'cockpit_updates_auto', '', 120;
|
||||
assert_and_click 'cockpit_updates_dnf_install', '', 120;
|
||||
assert_screen 'cockpit_updates_auto_on';
|
||||
# from 234 onwards, we get a config screen here: "no updates",
|
||||
# "security updates only", "all updates"
|
||||
assert_screen ['cockpit_updates_auto_on', 'cockpit_updates_auto_all'];
|
||||
if (match_has_tag 'cockpit_updates_auto_all') {
|
||||
click_lastmatch;
|
||||
assert_and_click 'cockpit_save_changes';
|
||||
}
|
||||
|
||||
# Check the default automatic settings Everyday at 6 o'clock.
|
||||
assert_screen 'autoupdate_planned_day';
|
||||
|