diff --git a/needles/cockpit/autoupdate_planned_day-nospace-20201215.json b/needles/cockpit/autoupdate_planned_day-nospace-20201215.json new file mode 100644 index 00000000..2b7f06a0 --- /dev/null +++ b/needles/cockpit/autoupdate_planned_day-nospace-20201215.json @@ -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" + ] +} \ No newline at end of file diff --git a/needles/cockpit/autoupdate_planned_day-nospace-20201215.png b/needles/cockpit/autoupdate_planned_day-nospace-20201215.png new file mode 100644 index 00000000..84b4c2be Binary files /dev/null and b/needles/cockpit/autoupdate_planned_day-nospace-20201215.png differ diff --git a/needles/cockpit/autoupdate_planned_time-20200530.json b/needles/cockpit/autoupdate_planned_time-20200530.json index 8a127722..507308a5 100644 --- a/needles/cockpit/autoupdate_planned_time-20200530.json +++ b/needles/cockpit/autoupdate_planned_time-20200530.json @@ -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" + ] } \ No newline at end of file diff --git a/needles/cockpit/cockpit_save_changes-20201215.json b/needles/cockpit/cockpit_save_changes-20201215.json new file mode 100644 index 00000000..f95c6b7d --- /dev/null +++ b/needles/cockpit/cockpit_save_changes-20201215.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 398, + "ypos": 483, + "width": 100, + "height": 17, + "type": "match" + } + ], + "properties": [], + "tags": [ + "cockpit_save_changes" + ] +} \ No newline at end of file diff --git a/needles/cockpit/cockpit_save_changes-20201215.png b/needles/cockpit/cockpit_save_changes-20201215.png new file mode 100644 index 00000000..3b864d19 Binary files /dev/null and b/needles/cockpit/cockpit_save_changes-20201215.png differ diff --git a/needles/cockpit/cockpit_updates_auto-cockpit234-20201215.json b/needles/cockpit/cockpit_updates_auto-cockpit234-20201215.json new file mode 100644 index 00000000..d36fefe0 --- /dev/null +++ b/needles/cockpit/cockpit_updates_auto-cockpit234-20201215.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 939, + "type": "match", + "ypos": 267, + "height": 21, + "width": 37 + } + ], + "properties": [], + "tags": [ + "cockpit_updates_auto" + ] +} \ No newline at end of file diff --git a/needles/cockpit/cockpit_updates_auto-cockpit234-20201215.png b/needles/cockpit/cockpit_updates_auto-cockpit234-20201215.png new file mode 100644 index 00000000..c540cd99 Binary files /dev/null and b/needles/cockpit/cockpit_updates_auto-cockpit234-20201215.png differ diff --git a/needles/cockpit/cockpit_updates_auto_all-20201215.json b/needles/cockpit/cockpit_updates_auto_all-20201215.json new file mode 100644 index 00000000..18ad4736 --- /dev/null +++ b/needles/cockpit/cockpit_updates_auto_all-20201215.json @@ -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" + ] +} diff --git a/needles/cockpit/cockpit_updates_auto_all-20201215.png b/needles/cockpit/cockpit_updates_auto_all-20201215.png new file mode 100644 index 00000000..ca4bd40b Binary files /dev/null and b/needles/cockpit/cockpit_updates_auto_all-20201215.png differ diff --git a/needles/cockpit/cockpit_updates_check-cockpit234-20201215.json b/needles/cockpit/cockpit_updates_check-cockpit234-20201215.json new file mode 100644 index 00000000..33673100 --- /dev/null +++ b/needles/cockpit/cockpit_updates_check-cockpit234-20201215.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "width": 22, + "xpos": 555, + "height": 20, + "type": "match", + "ypos": 266 + } + ], + "properties": [], + "tags": [ + "cockpit_updates_check" + ] +} \ No newline at end of file diff --git a/needles/cockpit/cockpit_updates_check-cockpit234-20201215.png b/needles/cockpit/cockpit_updates_check-cockpit234-20201215.png new file mode 100644 index 00000000..c181b472 Binary files /dev/null and b/needles/cockpit/cockpit_updates_check-cockpit234-20201215.png differ diff --git a/needles/cockpit/cockpit_updates_updated-cockpit234-20201215.json b/needles/cockpit/cockpit_updates_updated-cockpit234-20201215.json new file mode 100644 index 00000000..b52fe398 --- /dev/null +++ b/needles/cockpit/cockpit_updates_updated-cockpit234-20201215.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 260, + "height": 20, + "type": "match", + "ypos": 307, + "width": 24 + } + ], + "properties": [], + "tags": [ + "cockpit_updates_updated" + ] +} \ No newline at end of file diff --git a/needles/cockpit/cockpit_updates_updated-cockpit234-20201215.png b/needles/cockpit/cockpit_updates_updated-cockpit234-20201215.png new file mode 100644 index 00000000..4280280d Binary files /dev/null and b/needles/cockpit/cockpit_updates_updated-cockpit234-20201215.png differ diff --git a/needles/cockpit/login-cockpit234-20201215.json b/needles/cockpit/login-cockpit234-20201215.json new file mode 100644 index 00000000..33d919b9 --- /dev/null +++ b/needles/cockpit/login-cockpit234-20201215.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "width": 227, + "height": 77, + "ypos": 176, + "type": "match", + "xpos": 575 + } + ], + "properties": [], + "tags": [ + "cockpit_login" + ] +} \ No newline at end of file diff --git a/needles/cockpit/login-cockpit234-20201215.png b/needles/cockpit/login-cockpit234-20201215.png new file mode 100644 index 00000000..5f24c6ee Binary files /dev/null and b/needles/cockpit/login-cockpit234-20201215.png differ diff --git a/needles/cockpit/logs_entry-setroubleshoot-20201215.json b/needles/cockpit/logs_entry-setroubleshoot-20201215.json new file mode 100644 index 00000000..c2b0cfc6 --- /dev/null +++ b/needles/cockpit/logs_entry-setroubleshoot-20201215.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "type": "match", + "ypos": 524, + "height": 13, + "xpos": 860, + "width": 95 + } + ], + "properties": [], + "tags": [ + "cockpit_logs_entry" + ] +} \ No newline at end of file diff --git a/needles/cockpit/logs_entry-setroubleshoot-20201215.png b/needles/cockpit/logs_entry-setroubleshoot-20201215.png new file mode 100644 index 00000000..0a061e08 Binary files /dev/null and b/needles/cockpit/logs_entry-setroubleshoot-20201215.png differ diff --git a/tests/server_cockpit_autoupdate.pm b/tests/server_cockpit_autoupdate.pm index d9b6f0ae..539674fd 100644 --- a/tests/server_cockpit_autoupdate.pm +++ b/tests/server_cockpit_autoupdate.pm @@ -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';