diff --git a/needles/cockpit/logs_entry-systemd-20210219.json b/needles/cockpit/logs_entry-systemd-20210219.json new file mode 100644 index 00000000..c6ef6028 --- /dev/null +++ b/needles/cockpit/logs_entry-systemd-20210219.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "ypos": 487, + "height": 15, + "xpos": 860, + "type": "match", + "width": 52 + } + ], + "properties": [], + "tags": [ + "cockpit_logs_entry" + ] +} \ No newline at end of file diff --git a/needles/cockpit/logs_entry-systemd-20210219.png b/needles/cockpit/logs_entry-systemd-20210219.png new file mode 100644 index 00000000..e8a79e98 Binary files /dev/null and b/needles/cockpit/logs_entry-systemd-20210219.png differ diff --git a/needles/cockpit/logs_priority_text-20210219.json b/needles/cockpit/logs_priority_text-20210219.json new file mode 100644 index 00000000..b74172e5 --- /dev/null +++ b/needles/cockpit/logs_priority_text-20210219.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 308, + "ypos": 304, + "width": 60, + "height": 12, + "type": "match" + } + ], + "properties": [], + "tags": [ + "cockpit_logs_priority_text" + ] +} \ No newline at end of file diff --git a/needles/cockpit/logs_priority_text-20210219.png b/needles/cockpit/logs_priority_text-20210219.png new file mode 100644 index 00000000..63a1859c Binary files /dev/null and b/needles/cockpit/logs_priority_text-20210219.png differ diff --git a/tests/server_cockpit_basic.pm b/tests/server_cockpit_basic.pm index 49d3020f..4aa63fff 100644 --- a/tests/server_cockpit_basic.pm +++ b/tests/server_cockpit_basic.pm @@ -13,7 +13,14 @@ sub run { assert_and_click "cockpit_logs"; # the date dropdown changes and messes with the button locations, so wait wait_still_screen 2; - # assume there's an entry, click it + # set priority to info and above in case there are no errors + assert_and_click "cockpit_logs_priority_text"; + send_key "backspace"; + send_key "backspace"; + send_key "backspace"; + send_key "backspace"; + type_string "info\n"; + # now click an entry assert_and_click "cockpit_logs_entry"; # check we get to the appropriate detail screen assert_screen "cockpit_logs_detail";