diff --git a/lib/cockpit.pm b/lib/cockpit.pm index f857979e..af560218 100644 --- a/lib/cockpit.pm +++ b/lib/cockpit.pm @@ -29,6 +29,10 @@ sub start_cockpit { wait_screen_change { send_key "tab"; }; type_safely get_var("USER_PASSWORD", "weakpassword"); send_key "ret"; + assert_and_click "cockpit_admin_enable"; + assert_screen "cockpit_admin_password"; + type_safely get_var("USER_PASSWORD", "weakpassword"); + send_key "ret"; assert_screen "cockpit_main"; # wait for any animation or other weirdness # can't use wait_still_screen because of that damn graph diff --git a/needles/cockpit/cockpit_admin_enable-20221119.json b/needles/cockpit/cockpit_admin_enable-20221119.json new file mode 100644 index 00000000..e325a3ea --- /dev/null +++ b/needles/cockpit/cockpit_admin_enable-20221119.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 298, + "ypos": 245, + "width": 101, + "height": 15, + "type": "match" + } + ], + "properties": [], + "tags": [ + "cockpit_admin_enable" + ] +} \ No newline at end of file diff --git a/needles/cockpit/cockpit_admin_enable-20221119.png b/needles/cockpit/cockpit_admin_enable-20221119.png new file mode 100644 index 00000000..1a7f190e Binary files /dev/null and b/needles/cockpit/cockpit_admin_enable-20221119.png differ diff --git a/needles/cockpit/cockpit_admin_password-20221119.json b/needles/cockpit/cockpit_admin_password-20221119.json new file mode 100644 index 00000000..b5887895 --- /dev/null +++ b/needles/cockpit/cockpit_admin_password-20221119.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 256, + "ypos": 397, + "width": 119, + "height": 17, + "type": "match" + } + ], + "properties": [], + "tags": [ + "cockpit_admin_password" + ] +} \ No newline at end of file diff --git a/needles/cockpit/cockpit_admin_password-20221119.png b/needles/cockpit/cockpit_admin_password-20221119.png new file mode 100644 index 00000000..2b5e5077 Binary files /dev/null and b/needles/cockpit/cockpit_admin_password-20221119.png differ