mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-08-16 21:05:43 +00:00
Update tests.
This commit is contained in:
parent
2453702915
commit
884bffb603
@ -19,7 +19,7 @@ sub run {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sub test_flags {
|
sub test_flags {
|
||||||
return {fatal => 1, milestone => 1};
|
return {fatal => 1};
|
||||||
}
|
}
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
@ -15,11 +15,19 @@ sub run {
|
|||||||
# Type the command.
|
# Type the command.
|
||||||
enter_cmd("will_segfault");
|
enter_cmd("will_segfault");
|
||||||
# Wait one minute if a notification is displayed, otherwise softfail.
|
# 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 {
|
sub test_flags {
|
||||||
return {always_rollback => 1};
|
return {fatal => 1, milestone => 1};
|
||||||
}
|
}
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
Loading…
Reference in New Issue
Block a user