diff --git a/tests/apps_startstop/kde/konqueror.pm b/tests/apps_startstop/kde/konqueror.pm index 58c86ae1..5d9b46c4 100644 --- a/tests/apps_startstop/kde/konqueror.pm +++ b/tests/apps_startstop/kde/konqueror.pm @@ -7,9 +7,15 @@ use utils; sub run { my $self = shift; + my $mode = get_var('MODE'); # Start the application - start_with_launcher('konqueror_launch','menu_applications','menu_internet'); + if ($mode eq 'fast') { + start_with_command 'konqueror'; + } + else { + start_with_launcher('konqueror_launch','menu_applications','menu_internet'); + } # Check that it is started assert_screen 'konqueror_runs'; # Close the application diff --git a/tests/apps_startstop/kde/konsole.pm b/tests/apps_startstop/kde/konsole.pm index 5224f950..4fe5cbc9 100644 --- a/tests/apps_startstop/kde/konsole.pm +++ b/tests/apps_startstop/kde/konsole.pm @@ -7,9 +7,15 @@ use utils; sub run { my $self = shift; + my $mode = get_var('MODE'); # Start the application - start_with_launcher('konsole_launch','menu_applications','menu_system'); + if ($mode eq 'fast') { + start_with_command 'konsole'; + } + else { + start_with_launcher('konsole_launch','menu_applications','menu_system'); + } # Check that it is started assert_screen 'konsole_runs'; # Close the application diff --git a/tests/apps_startstop/kde/kontakt.pm b/tests/apps_startstop/kde/kontakt.pm index e46e4141..7ac1903b 100644 --- a/tests/apps_startstop/kde/kontakt.pm +++ b/tests/apps_startstop/kde/kontakt.pm @@ -7,9 +7,15 @@ use utils; sub run { my $self = shift; + my $mode = get_var('MODE'); # Start the application - start_with_launcher('kontact_launch','menu_applications','menu_office'); + if ($mode eq 'fast') { + start_with_command 'kontact'; + } + else { + start_with_launcher('kontact_launch','menu_applications','menu_office'); + } # Enable unified mailboxes, if they appear if (check_screen("enable_unified_mailboxes", 1)) { assert_and_click "enable_unified_mailboxes"; diff --git a/tests/apps_startstop/kde/konversation.pm b/tests/apps_startstop/kde/konversation.pm index e66e6af8..8e316f60 100644 --- a/tests/apps_startstop/kde/konversation.pm +++ b/tests/apps_startstop/kde/konversation.pm @@ -7,9 +7,15 @@ use utils; sub run { my $self = shift; + my $mode = get_var('MODE'); # Start the application - start_with_launcher('konversation_launch','menu_applications','menu_internet'); + if ($mode eq 'fast') { + start_with_command 'konversation'; + } + else { + start_with_launcher('konversation_launch','menu_applications','menu_internet'); + } # Connect to Freenode assert_and_click 'konversation_connect'; # Check that it is started diff --git a/tests/apps_startstop/kde/korganizer.pm b/tests/apps_startstop/kde/korganizer.pm index 36ce96b3..d51690b5 100644 --- a/tests/apps_startstop/kde/korganizer.pm +++ b/tests/apps_startstop/kde/korganizer.pm @@ -7,9 +7,15 @@ use utils; sub run { my $self = shift; + my $mode = get_var('MODE'); # Start the application - start_with_launcher('korganizer_launch','menu_applications','menu_office'); + if ($mode eq 'fast') { + start_with_command 'korganizer'; + } + else { + start_with_launcher('korganizer_launch','menu_applications','menu_office'); + } # Check that it is started assert_screen 'korganizer_runs'; # Close the application diff --git a/tests/apps_startstop/kde/kparted.pm b/tests/apps_startstop/kde/kparted.pm index 3e0df72d..30f39a3c 100644 --- a/tests/apps_startstop/kde/kparted.pm +++ b/tests/apps_startstop/kde/kparted.pm @@ -7,9 +7,15 @@ use utils; sub run { my $self = shift; + my $mode = get_var('MODE'); # Start the application - start_with_launcher('kparted_launch','menu_applications','menu_system'); + if ($mode eq 'fast') { + start_with_command 'kparted'; + } + else { + start_with_launcher('kparted_launch','menu_applications','menu_system'); + } # Provide root password to run the application type_very_safely(get_var("ROOT_PASSWORD", "weakpassword")); send_key 'ret'; diff --git a/tests/apps_startstop/kde/krdc.pm b/tests/apps_startstop/kde/krdc.pm index 67e59a57..fc161b87 100644 --- a/tests/apps_startstop/kde/krdc.pm +++ b/tests/apps_startstop/kde/krdc.pm @@ -7,9 +7,15 @@ use utils; sub run { my $self = shift; + my $mode = get_var('MODE'); # Start the application - start_with_launcher('krdc_launch','menu_applications','menu_internet'); + if ($mode eq 'fast') { + start_with_command 'krdc'; + } + else { + start_with_launcher('krdc_launch','menu_applications','menu_internet'); + } # Check that it is started assert_screen 'krdc_runs'; # Close the application diff --git a/tests/apps_startstop/kde/krfb.pm b/tests/apps_startstop/kde/krfb.pm index 98afd842..3dd339e1 100644 --- a/tests/apps_startstop/kde/krfb.pm +++ b/tests/apps_startstop/kde/krfb.pm @@ -7,9 +7,15 @@ use utils; sub run { my $self = shift; + my $mode = get_var('MODE'); # Start the application - start_with_launcher('krfb_launch','menu_applications','menu_internet'); + if ($mode eq 'fast') { + start_with_command 'krfb'; + } + else { + start_with_launcher('krfb_launch','menu_applications','menu_internet'); + } # Check that it is started assert_screen 'krfb_runs'; # Close the application diff --git a/tests/apps_startstop/kde/kruler.pm b/tests/apps_startstop/kde/kruler.pm index 63539bc0..642838dc 100644 --- a/tests/apps_startstop/kde/kruler.pm +++ b/tests/apps_startstop/kde/kruler.pm @@ -7,9 +7,15 @@ use utils; sub run { my $self = shift; + my $mode = get_var('MODE'); # Start the application - start_with_launcher('menu_graphics_more_apps', 'menu_applications','menu_graphics'); + if ($mode eq 'fast') { + start_with_command 'kruler'; + } + else { + start_with_launcher('menu_graphics_more_apps', 'menu_applications','menu_graphics'); + } # Games are hidden even deeper in menus, so let us fix that here. send_key_until_needlematch('kruler_launch', 'down', 6, 2); assert_and_click 'kruler_launch';