mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-02-04 14:53:09 +00:00
Add one extra Esc key to come back fully from the dialogue.
This commit is contained in:
parent
e9f5378df5
commit
f3316892d4
@ -17,6 +17,16 @@ sub run {
|
|||||||
assert_and_click("gnome_button_credits");
|
assert_and_click("gnome_button_credits");
|
||||||
assert_screen("clocks_credits_shown");
|
assert_screen("clocks_credits_shown");
|
||||||
send_key("esc");
|
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
|
# Use the menu to see the shortcuts
|
||||||
assert_and_click("gnome_burger_menu");
|
assert_and_click("gnome_burger_menu");
|
||||||
|
Loading…
Reference in New Issue
Block a user