diff --git a/lib/utils.pm b/lib/utils.pm index c071d919..6368e922 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -734,6 +734,21 @@ sub start_with_launcher { send_key 'ret'; wait_still_screen 5; } + elsif ($desktop eq 'xfce') { + # Click on the XFCE menu applications + assert_and_click 'xfce_menu_launcher'; + wait_still_screen 2; + + # If the application icon is in a group, click on group first + if ($group) { + assert_and_click $group; + wait_still_screen 2; + } + + # Click on the application icon + assert_and_click $launcher; + wait_still_screen 5; + } }