diff --git a/lib/anacondatest.pm b/lib/anacondatest.pm index ce760dba..e52fa224 100644 --- a/lib/anacondatest.pm +++ b/lib/anacondatest.pm @@ -11,9 +11,10 @@ use testapi; sub post_fail_hook { my $self = shift; - # if error dialog is shown, it created traceback file + # if error dialog is shown, click "report" - it then creates directory structure for ABRT my $has_traceback = 0; if (check_screen "anaconda_error", 10) { + assert_and_click "anaconda_error_report"; $has_traceback = 1; } @@ -36,7 +37,7 @@ sub post_fail_hook { } # Upload all ABRT logs - script_run "tar czf var_tmp.tar.gz /var/tmp"; + script_run "tar czf /var/tmp/var_tmp.tar.gz /var/tmp"; upload_logs "/var/tmp/var_tmp.tar.gz"; # Upload /var/log diff --git a/needles/anaconda_error-gtk3195.json b/needles/anaconda_error-23.json similarity index 75% rename from needles/anaconda_error-gtk3195.json rename to needles/anaconda_error-23.json index 2365a836..35c23d63 100644 --- a/needles/anaconda_error-gtk3195.json +++ b/needles/anaconda_error-23.json @@ -1,17 +1,17 @@ { + "area": [ + { + "xpos": 275, + "ypos": 319, + "width": 217, + "height": 19, + "type": "match" + } + ], "tags": [ "ENV-DISTRI-fedora", "ENV-FLAVOR-server", "anaconda_error" ], - "properties": [], - "area": [ - { - "xpos": 275, - "height": 19, - "ypos": 322, - "width": 217, - "type": "match" - } - ] -} \ No newline at end of file + "properties": [] +} diff --git a/needles/anaconda_error-23.png b/needles/anaconda_error-23.png new file mode 100644 index 00000000..14c81f5c Binary files /dev/null and b/needles/anaconda_error-23.png differ diff --git a/needles/anaconda_error-early.json b/needles/anaconda_error-early.json new file mode 100644 index 00000000..dd4299a9 --- /dev/null +++ b/needles/anaconda_error-early.json @@ -0,0 +1,17 @@ +{ + "area": [ + { + "height": 19, + "type": "match", + "width": 262, + "xpos": 275, + "ypos": 324 + } + ], + "properties": [], + "tags": [ + "ENV-DISTRI-fedora", + "ENV-FLAVOR-server", + "anaconda_error" + ] +} \ No newline at end of file diff --git a/needles/anaconda_error-early.png b/needles/anaconda_error-early.png new file mode 100644 index 00000000..a63c4d09 Binary files /dev/null and b/needles/anaconda_error-early.png differ diff --git a/needles/anaconda_error-gtk3195.png b/needles/anaconda_error-gtk3195.png deleted file mode 100644 index 131446c0..00000000 Binary files a/needles/anaconda_error-gtk3195.png and /dev/null differ diff --git a/needles/anaconda_error.png b/needles/anaconda_error.png index 14c81f5c..19a9a488 100644 Binary files a/needles/anaconda_error.png and b/needles/anaconda_error.png differ diff --git a/needles/anaconda_error_report-23.json b/needles/anaconda_error_report-23.json new file mode 100644 index 00000000..a9609b27 --- /dev/null +++ b/needles/anaconda_error_report-23.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "height": 20, + "type": "match", + "width": 100, + "xpos": 570, + "ypos": 430 + } + ], + "tags": [ + "ENV-DISTRI-fedora", + "anaconda_error_report" + ] +} \ No newline at end of file diff --git a/needles/anaconda_error_report-23.png b/needles/anaconda_error_report-23.png new file mode 100644 index 00000000..14c81f5c Binary files /dev/null and b/needles/anaconda_error_report-23.png differ diff --git a/needles/anaconda_error_report-early.json b/needles/anaconda_error_report-early.json new file mode 100644 index 00000000..be8d98df --- /dev/null +++ b/needles/anaconda_error_report-early.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "height": 25, + "type": "match", + "width": 100, + "xpos": 565, + "ypos": 425 + } + ], + "tags": [ + "ENV-DISTRI-fedora", + "anaconda_error_report" + ] +} \ No newline at end of file diff --git a/needles/anaconda_error_report-early.png b/needles/anaconda_error_report-early.png new file mode 100644 index 00000000..a63c4d09 Binary files /dev/null and b/needles/anaconda_error_report-early.png differ diff --git a/needles/anaconda_error_report.json b/needles/anaconda_error_report.json new file mode 100644 index 00000000..28e726e5 --- /dev/null +++ b/needles/anaconda_error_report.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "height": 25, + "type": "match", + "width": 100, + "xpos": 570, + "ypos": 425 + } + ], + "tags": [ + "ENV-DISTRI-fedora", + "anaconda_error_report" + ] +} diff --git a/needles/anaconda_error_report.png b/needles/anaconda_error_report.png new file mode 100644 index 00000000..19a9a488 Binary files /dev/null and b/needles/anaconda_error_report.png differ