mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-06-25 16:01:33 +00:00
fonts/install.pm: hit tab 60 times for the flatpak
...because every font is shown twice, sigh. See: https://gitlab.com/fedora/sigs/flatpak/fedora-flatpaks/-/issues/48 Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
3a7ef807de
commit
a9daf32c5d
@ -9,7 +9,11 @@ use utils;
|
||||
sub run {
|
||||
my $self = shift;
|
||||
# Send the TAB key until the Cantarell font is found.
|
||||
send_key_until_needlematch("fonts_c059_font", "tab", 30, 1);
|
||||
# hit tab twice as many times for silverblue, because every
|
||||
# font is shown twice:
|
||||
# https://gitlab.com/fedora/sigs/flatpak/fedora-flatpaks/-/issues/48
|
||||
my $tabs = get_var("CANNED") ? 60 : 30;
|
||||
send_key_until_needlematch("fonts_c059_font", "tab", $tabs, 1);
|
||||
click_lastmatch();
|
||||
# Check that the correct font is shown.
|
||||
assert_screen("fonts_c059_shown");
|
||||
|
Loading…
Reference in New Issue
Block a user