1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-09-21 22:47:22 +00:00

make cockpit login screen workaround unconditional for now

cockpit 118 hit F25 stable, so we need this on both branches
now...next up, 119 will hit Rawhide, and we'll need to make
it F25-only...
This commit is contained in:
Adam Williamson 2016-09-12 17:47:21 -07:00
parent 72074868a8
commit 016074d247

View File

@ -72,11 +72,11 @@ sub start_cockpit {
wait_still_screen 5;
if ($login) {
# with cockpit 118, user name field is not highlighted by
# default. for right now 118 is only in Rawhide, we'll have
# to adjust this conditional as necessary.
if (lc(get_var('VERSION')) eq "rawhide") {
wait_screen_change { send_key "tab"; };
}
# default. this will be fixed in 119, so we will need to make
# this F25-only when 119 hits Rawhide, then remove it entirely
# when 119 goes stable for F25.
wait_screen_change { send_key "tab"; };
type_safely "root";
wait_screen_change { send_key "tab"; };
type_safely get_var("ROOT_PASSWORD", "weakpassword");