1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-17 20:13:08 +00:00
os-autoinst-distri-fedora/tests/applications/sysmon/main_view.pm

31 lines
603 B
Perl
Raw Permalink Normal View History

2022-09-21 12:16:58 +00:00
use base "installedtest";
use strict;
use testapi;
use utils;
# This script tests that users can switch between the three main regimes.
sub run {
# wait for the restore to settle down
wait_still_screen 3;
# Press Alt-3 to see the file systems
send_key("alt-3");
assert_screen("sysmon_fsystems_shown");
# Press Alt-1 to see the processes
send_key("alt-1");
assert_screen("sysmon_processes_shown");
# Press Alt-2 to see the resources
send_key("alt-2");
assert_screen("sysmon_resources_shown");
}
sub test_flags {
return {always_rollback => 1};
}
1;