mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-18 09:08:29 +00:00
cockpit: log in as user 'test', not root
From 280, the cockpit package disabled logging in as root by default. We could wipe that config file, but it seems better to respect the default config and log in as the admin user 'test' instead of as root. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
2cde59c45a
commit
862bb8d976
@ -26,9 +26,9 @@ sub start_cockpit {
|
|||||||
record_soft_failure "Unbranded Cockpit" if (match_has_tag "cockpit_login_unbranded");
|
record_soft_failure "Unbranded Cockpit" if (match_has_tag "cockpit_login_unbranded");
|
||||||
wait_still_screen(stilltime => 5, similarity_level => 45);
|
wait_still_screen(stilltime => 5, similarity_level => 45);
|
||||||
if ($login) {
|
if ($login) {
|
||||||
type_safely "root";
|
type_safely "test";
|
||||||
wait_screen_change { send_key "tab"; };
|
wait_screen_change { send_key "tab"; };
|
||||||
type_safely get_var("ROOT_PASSWORD", "weakpassword");
|
type_safely get_var("USER_PASSWORD", "weakpassword");
|
||||||
send_key "ret";
|
send_key "ret";
|
||||||
assert_screen "cockpit_main";
|
assert_screen "cockpit_main";
|
||||||
# wait for any animation or other weirdness
|
# wait for any animation or other weirdness
|
||||||
|
Loading…
Reference in New Issue
Block a user