1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 07:13:09 +00:00

Make a starting fix for Silverblue.

This commit is contained in:
Lukas Ruzicka 2023-08-10 13:58:48 +02:00
parent e7af83bdc9
commit 9bd376a527

View File

@ -10,7 +10,13 @@ sub run {
# Start the application # Start the application
start_with_launcher('apps_menu_fonts', 'apps_menu_utilities'); start_with_launcher('apps_menu_fonts', 'apps_menu_utilities');
# Check that is started # Check that is started.
# Note: On Silverblue, the application sometimes does not
# start when attempted for the first time. If that happens,
# we will retry starting it once more.
if ((get_var("SUBVARIANT") eq "Silverblue") and (! check_screen("apps_run_fonts"))) {
menu_launch_type("fonts");
}
assert_screen 'apps_run_fonts'; assert_screen 'apps_run_fonts';
# Register application # Register application
register_application("gnome-font-viewer"); register_application("gnome-font-viewer");