use base "installedtest"; use strict; use testapi; use utils; use pikvm; # This script starts a helper image and performs steps # to log into the PiKVM web administration. sub run { my $self = shift; my $ip_address = get_var("KVM_IP"); # Fluxbox is started automatically and so is Chromium. # In case, Chromium does not start, we start it manually, just for case. unless (check_screen("pikvm_chrome_started", timeout => 30)) { send_key("alt-f2"); wait_still_screen(2); type_very_safely("chromium-browser fqe-pikvm.usersys.redhat.com --start-fullscreen\n"); assert_screen("pikvm_chrome_started"); } # Login onto the PiKVM open_pikvm(); # Go to the KVM subpage open_subpage("kvm"); # Make the output fullscreen. assert_and_click("pikvm_fullscreen_output"); } sub test_flags { return {fatal => 1, milestone => 1}; } 1; # vim: set sw=4 et: