1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-29 00:53:09 +00:00

Update tests.

This commit is contained in:
Lukáš Růžička 2022-09-19 14:43:04 +02:00
parent 2453702915
commit 884bffb603
2 changed files with 11 additions and 3 deletions

View File

@ -19,7 +19,7 @@ sub run {
}
sub test_flags {
return {fatal => 1, milestone => 1};
return {fatal => 1};
}
1;

View File

@ -15,11 +15,19 @@ sub run {
# Type the command.
enter_cmd("will_segfault");
# Wait one minute if a notification is displayed, otherwise softfail.
check_screen("bugreporter_notification_displayed", timeout => '60', no_wait => '0');
unless (check_screen("bugreporter_notification_displayed", timeout => '60')) {
record_soft_failure("The crash notification has not been shown in one minute time frame.");
}
# Exit the terminal.
enter_cmd("exit");
wait_still_screen(2);
# Start Abrt for further testing.
menu_launch_type("abrt");
assert_screen("apps_run_abrt");
}
sub test_flags {
return {always_rollback => 1};
return {fatal => 1, milestone => 1};
}
1;