1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-30 06:03:09 +00:00
os-autoinst-distri-fedora/tests/applications/sysmon/main_view.pm
2022-10-10 15:14:21 +02:00

31 lines
603 B
Perl

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;