1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-21 21:43:08 +00:00

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>
This commit is contained in:
Adam Williamson 2023-10-17 15:10:32 -07:00
parent f36d04e650
commit 69dad7a975
7 changed files with 48 additions and 6 deletions

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 603,
"ypos": 43,
"width": 20,
"height": 21,
"type": "match"
}
],
"properties": [],
"tags": [
"sysmon_fsystems_button"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 317,
"ypos": 43,
"width": 20,
"height": 22,
"type": "match"
}
],
"properties": [],
"tags": [
"sysmon_processes_button"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 464,
"ypos": 45,
"width": 19,
"height": 18,
"type": "match"
}
],
"properties": [],
"tags": [
"sysmon_resources_button"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 315 KiB

View File

@ -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");
}