diff --git a/lib/cockpit.pm b/lib/cockpit.pm index 227811b6..f857979e 100644 --- a/lib/cockpit.pm +++ b/lib/cockpit.pm @@ -25,9 +25,9 @@ sub start_cockpit { assert_screen "cockpit_login", 60; wait_still_screen(stilltime => 5, similarity_level => 45); if ($login) { - type_safely "root"; + type_safely "test"; wait_screen_change { send_key "tab"; }; - type_safely get_var("ROOT_PASSWORD", "weakpassword"); + type_safely get_var("USER_PASSWORD", "weakpassword"); send_key "ret"; assert_screen "cockpit_main"; # wait for any animation or other weirdness