653fb29 Enhance the menu_launch_type subroutine.

11 files Authored by lruzicka 4 months ago, Committed by adamwill 4 months ago,
    Enhance the menu_launch_type subroutine.
    
    The previous version of menu_launch_type took the name of the
    application as an argument and it started the application.
    To maximize the application or to check that it has started indeed
    we had to do it manually.
    
    Now, the application also takes "maximize => 1" or "checkstart => 1"
    to maximize the application or check that it has started as optional
    arguments to avoid doing it manually, while it still accepts just
    the name of the application and behaves like it did before.
    
    Note that if you decide to use the checkstart argument, you
    also need to update the check-needles.py script to whitelist
    the application needle tag, see the example test scripts
    attached to this PR.
    
    Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/329
    
        
file modified
+4 -0
file modified
+28 -12
file modified
+1 -2
file modified
+1 -3