1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-07-28 04:45:45 +00:00

Try to sort out abrt 'app runs' needles

This got messed up in 1e6da7019c
where the KDE needles all got renamed to apps_run_abrt* and their
tags changed to apps_run_abrt, but the KDE *test* was not changed
to look for apps_run_abrt instead of abrt_runs, so we wound up
creating a whole new bunch of abrt_runs needles so we had *three*
sets of needles...

This rationalizes it down to the needles that actually match in
current tests, properly renames them all to apps_run_abrt and
updates the KDE test to look for that tag, and adds a couple of
new needles for the recent downgrade of the app.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2025-04-10 17:15:42 -07:00
parent fedca551eb
commit 2c4f6d7c9a
26 changed files with 8 additions and 168 deletions

View File

@ -1,15 +0,0 @@
{
"area": [
{
"ypos": 17,
"xpos": 447,
"type": "match",
"height": 15,
"width": 135
}
],
"properties": [],
"tags": [
"abrt_runs"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 447,
"ypos": 17,
"type": "match",
"width": 135,
"height": 15
}
],
"properties": [],
"tags": [
"abrt_runs"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

View File

@ -1,11 +1,11 @@
{ {
"area": [ "area": [
{ {
"width": 133, "ypos": 45,
"ypos": 46,
"type": "match",
"height": 21, "height": 21,
"xpos": 447 "width": 136,
"type": "match",
"xpos": 445
} }
], ],
"properties": [], "properties": [],

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"type": "match",
"height": 15,
"xpos": 453,
"width": 119,
"ypos": 20
}
],
"properties": [],
"tags": [
"apps_run_abrt"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"ypos": 17,
"type": "match",
"xpos": 447,
"height": 15,
"width": 131
}
],
"properties": [],
"tags": [
"apps_run_abrt"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

View File

@ -1,20 +0,0 @@
{
"area": [
{
"ypos": 17,
"xpos": 447,
"height": 15,
"type": "match",
"width": 131
}
],
"properties": [
{
"name": "workaround",
"value": "UI is weirdly grey - https://bugzilla.redhat.com/show_bug.cgi?id=2341867"
}
],
"tags": [
"apps_run_abrt"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

View File

@ -1,20 +0,0 @@
{
"area": [
{
"xpos": 595,
"ypos": 380,
"width": 145,
"height": 15,
"type": "match"
}
],
"properties": [
{
"name": "workaround",
"value": "workaround for bug 2060540 (window is too large for screen). this is fragile, will fail if there is a crash"
}
],
"tags": [
"apps_run_abrt"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

View File

@ -1,20 +0,0 @@
{
"area": [
{
"xpos": 596,
"type": "match",
"width": 145,
"ypos": 382,
"height": 15
}
],
"properties": [
{
"value": "workaround for bug 2060540 (window is too large for screen). this is fragile, will fail if there is a crash",
"name": "workaround"
}
],
"tags": [
"apps_run_abrt"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

View File

@ -1,20 +0,0 @@
{
"area": [
{
"height": 15,
"width": 145,
"ypos": 382,
"xpos": 595,
"type": "match"
}
],
"properties": [
{
"name": "workaround",
"value": "workaround for bug 2060540 (window is too large for screen). this is fragile, will fail if there is a crash"
}
],
"tags": [
"apps_run_abrt"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

View File

@ -1,20 +0,0 @@
{
"area": [
{
"ypos": 232,
"type": "match",
"width": 145,
"height": 15,
"xpos": 314
}
],
"properties": [
{
"name": "workaround",
"value": "workaround for bug 2060540 (window is too large for screen). this is fragile, will fail if there is a crash"
}
],
"tags": [
"apps_run_abrt"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

View File

@ -4,7 +4,7 @@
"xpos": 447, "xpos": 447,
"ypos": 17, "ypos": 17,
"type": "match", "type": "match",
"width": 131, "width": 135,
"height": 15 "height": 15
} }
], ],

View File

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

View File

@ -10,6 +10,6 @@
], ],
"properties": [], "properties": [],
"tags": [ "tags": [
"abrt_runs" "apps_run_abrt"
] ]
} }

View File

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 41 KiB

View File

@ -9,7 +9,7 @@ sub run {
my $self = shift; my $self = shift;
# Start the application # Start the application
menu_launch_type('abrt'); menu_launch_type('abrt');
assert_screen 'abrt_runs'; assert_screen 'apps_run_abrt';
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }