mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-02-12 18:44:31 +00:00
29 lines
608 B
Perl
29 lines
608 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
use utils;
|
|
|
|
# This script tests if a crash report can be deleted.
|
|
|
|
sub run {
|
|
my $self = shift;
|
|
|
|
# Check that the crash is shown in the left bar.
|
|
assert_screen("bugreporter_leftbar_crash_shown");
|
|
# Click on the Delete button.
|
|
assert_and_click("bugreporter_button_delete");
|
|
# Check that the crash has disappeared from the left bar.
|
|
if (check_screen("bugreporter_leftbar_crash_shown")) {
|
|
die("It seems that the crash report could not be deleted.");
|
|
}
|
|
}
|
|
|
|
sub test_flags {
|
|
return {always_rollback => 1};
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|
|
|