1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-02-08 08:43:07 +00:00
os-autoinst-distri-fedora/tests/applications/bugreporter/display_crash.pm
2022-09-19 16:11:42 +02:00

29 lines
622 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
# This script tests if a crash can be displayed.
sub run {
my $self = shift;
# Check that the crash is shown in the left bar.
assert_screen("bugreporter_leftbar_crash_shown");
# Check that the main screen shows the crash, too.
assert_screen("bugreporter_main_crash_shown");
# Click on the Details button to see more info.
assert_and_click("bugreporter_button_details");
# Check that Details are shown.
assert_screen("bugreporter_details_shown");
}
sub test_flags {
return {always_rollback => 1};
}
1;
# vim: set sw=4 et: