1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-10-18 09:38:50 +00:00

kleopatra: handle launch with no self-check page

In Rawhide we're not seeing the self-check page, we're going
straight to the app. Handle that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2025-09-06 15:33:35 -07:00
parent 60232a960d
commit 3a2f45ef50

View File

@ -11,14 +11,15 @@ sub run {
# Start the application # Start the application
menu_launch_type 'kleopatra'; menu_launch_type 'kleopatra';
# Check that the Self Test page has appeared. # Check that the Self Test page has appeared.
assert_screen("kleopatra_selfcheck_page"); assert_screen(["kleopatra_selfcheck_page", "apps_run_kleopatra"]);
# There should be no failed tests, but since this is not the application if (match_has_tag("kleopatra_selfcheck_page")) {
# test, we will only softfail if they are failed. # There should be no failed tests, but since this is not the application
unless (check_screen("kleopatra_selfcheck_passed", timeout => 30)) { # test, we will only softfail if they are failed.
record_soft_failure("Kleopatra selfcheck tests do not pass!"); unless (check_screen("kleopatra_selfcheck_passed", timeout => 30)) {
record_soft_failure("Kleopatra selfcheck tests do not pass!");
}
assert_and_click("kde_continue");
} }
assert_and_click("kde_continue");
wait_still_screen 2;
# Check that it is started # Check that it is started
assert_screen 'apps_run_kleopatra'; assert_screen 'apps_run_kleopatra';