1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-14 02:34:21 +00:00
os-autoinst-distri-fedora/tests/applications/sysmon/main_view.pm
Adam Williamson 69dad7a975 sysmon: click, don't use shortcuts, to switch views
It looks like
https://gitlab.gnome.org/GNOME/gnome-system-monitor/-/issues/262
won't be fixed for a while - the fixes are tied up with the GTK
4 port - so let's just work around it for now by clicking instead
of using keyboard shortcuts.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-10-17 15:30:31 -07:00

28 lines
560 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;
assert_and_click("sysmon_fsystems_button");
assert_screen("sysmon_fsystems_shown");
assert_and_click("sysmon_processes_button");
assert_screen("sysmon_processes_shown");
assert_and_click("sysmon_resources_button");
assert_screen("sysmon_resources_shown");
}
sub test_flags {
return {always_rollback => 1};
}
1;