Simplify anaconda error screen handling, add new needle
There's really no point having separate error and error_report needles. Just match on error_report as well as clicking on it. Also add a new error_report needle for latest Rawhide fonts. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
0639468de6
commit
65b4755358
@ -15,7 +15,7 @@ sub post_fail_hook {
|
|||||||
|
|
||||||
# if error dialog is shown, click "report" - it then creates directory structure for ABRT
|
# if error dialog is shown, click "report" - it then creates directory structure for ABRT
|
||||||
my $has_traceback = 0;
|
my $has_traceback = 0;
|
||||||
if (check_screen "anaconda_error", 10) {
|
if (check_screen "anaconda_error_report", 10) {
|
||||||
assert_and_click "anaconda_error_report";
|
assert_and_click "anaconda_error_report";
|
||||||
$has_traceback = 1;
|
$has_traceback = 1;
|
||||||
} elsif (check_screen "anaconda_text_error", 10) { # also for text install
|
} elsif (check_screen "anaconda_text_error", 10) { # also for text install
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"height": 16,
|
|
||||||
"width": 213,
|
|
||||||
"type": "match",
|
|
||||||
"ypos": 322,
|
|
||||||
"xpos": 276
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"ENV-DISTRI-fedora",
|
|
||||||
"anaconda_error"
|
|
||||||
]
|
|
||||||
}
|
|
Binary file not shown.
Before Width: | Height: | Size: 160 KiB |
@ -1,17 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"height": 19,
|
|
||||||
"type": "match",
|
|
||||||
"width": 262,
|
|
||||||
"xpos": 275,
|
|
||||||
"ypos": 324
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"ENV-DISTRI-fedora",
|
|
||||||
"ENV-FLAVOR-server",
|
|
||||||
"anaconda_error"
|
|
||||||
]
|
|
||||||
}
|
|
Binary file not shown.
Before Width: | Height: | Size: 16 KiB |
@ -1,16 +0,0 @@
|
|||||||
{
|
|
||||||
"tags": [
|
|
||||||
"ENV-DISTRI-fedora",
|
|
||||||
"anaconda_error"
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"height": 16,
|
|
||||||
"ypos": 320,
|
|
||||||
"xpos": 276,
|
|
||||||
"width": 198,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
Binary file not shown.
Before Width: | Height: | Size: 125 KiB |
17
needles/anaconda/universal/error_report-20181213.json
Normal file
17
needles/anaconda/universal/error_report-20181213.json
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"tags": [
|
||||||
|
"ENV-DISTRI-fedora",
|
||||||
|
"anaconda_error",
|
||||||
|
"anaconda_error_report"
|
||||||
|
],
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"type": "match",
|
||||||
|
"xpos": 578,
|
||||||
|
"height": 16,
|
||||||
|
"width": 74,
|
||||||
|
"ypos": 433
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": []
|
||||||
|
}
|
BIN
needles/anaconda/universal/error_report-20181213.png
Normal file
BIN
needles/anaconda/universal/error_report-20181213.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 61 KiB |
Loading…
Reference in New Issue
Block a user