diff --git a/tests/applications/clocks/about.pm b/tests/applications/clocks/about.pm index 5aede460..d4421b39 100644 --- a/tests/applications/clocks/about.pm +++ b/tests/applications/clocks/about.pm @@ -17,6 +17,16 @@ sub run { assert_and_click("gnome_button_credits"); assert_screen("clocks_credits_shown"); send_key("esc"); + # We have been hitting the Esc key here to + # leave the About dialogue, but it seems that + # this time (Fedora37), it needs an extra Esc hit, because + # the Credit screen takes one to come back + # to the previous screen. + # Hit one more Esc, if the About window + # is still displayed + if (check_screen("clocks_about_displayed")) { + send_key("esc"); + } # Use the menu to see the shortcuts assert_and_click("gnome_burger_menu");