From 77fc65f6888776a21d96060db5d598da56457e37 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 17 Oct 2023 15:10:32 -0700 Subject: [PATCH] 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 --- tests/applications/sysmon/main_view.pm | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/tests/applications/sysmon/main_view.pm b/tests/applications/sysmon/main_view.pm index f337b7ef..6f472def 100644 --- a/tests/applications/sysmon/main_view.pm +++ b/tests/applications/sysmon/main_view.pm @@ -8,16 +8,13 @@ use utils; 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_and_click("sysmon_fsystems_button"); assert_screen("sysmon_fsystems_shown"); - # Press Alt-1 to see the processes - send_key("alt-1"); + assert_and_click("sysmon_processes_button"); assert_screen("sysmon_processes_shown"); - # Press Alt-2 to see the resources - send_key("alt-2"); + assert_and_click("sysmon_resources_button"); assert_screen("sysmon_resources_shown"); }