1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-24 23:03:08 +00:00

Add some safety to g-t-e language setup

Seems in Rawhide the menu is loading without dividers briefly,
we match there, then the dividers load in and make the menu
longer, so when we click, we hit a different entry in the menu.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2023-07-03 11:31:48 -07:00
parent 557b6f2fc1
commit 20a2d161ca

View File

@ -48,6 +48,9 @@ sub run {
# Set the document language to English in order # Set the document language to English in order
# to have the spelling control correct. # to have the spelling control correct.
assert_and_click("gte_line_word", button => "right"); assert_and_click("gte_line_word", button => "right");
# the context menu can change while it's loading, so we need to be careful
assert_screen("gte_context_languages");
wait_still_screen 3;
assert_and_click("gte_context_languages"); assert_and_click("gte_context_languages");
assert_and_click("gte_context_language_english"); assert_and_click("gte_context_language_english");
} }