diff --git a/tests/apps_startstop/kde/kget.pm b/tests/apps_startstop/kde/kget.pm index 50bda10e..580db8c7 100644 --- a/tests/apps_startstop/kde/kget.pm +++ b/tests/apps_startstop/kde/kget.pm @@ -7,9 +7,15 @@ use utils; sub run { my $self = shift; - + my $mode = get_var('MODE'); + # Start the application - start_with_launcher('kget_launch','menu_applications','menu_internet'); + if ($mode eq 'fast') { + start_with_command 'kget'; + } + else { + start_with_launcher('kget_launch','menu_applications','menu_internet'); + } # Enable as default application assert_and_click 'kget_enable'; # Check that it is started diff --git a/tests/apps_startstop/kde/kgpg.pm b/tests/apps_startstop/kde/kgpg.pm index cd9a0110..cd5c4a49 100644 --- a/tests/apps_startstop/kde/kgpg.pm +++ b/tests/apps_startstop/kde/kgpg.pm @@ -7,9 +7,15 @@ use utils; sub run { my $self = shift; + my $mode = get_var('MODE'); # Start the application - start_with_launcher('kgpg_launch','menu_applications','menu_utilities'); + if ($mode eq 'fast') { + start_with_command 'kgpg'; + } + else { + start_with_launcher('kgpg_launch','menu_applications','menu_utilities'); + } # Deal with the first wizard screen assert_and_click 'kgpg_next'; wait_still_screen 2; diff --git a/tests/apps_startstop/kde/kimport.pm b/tests/apps_startstop/kde/kimport.pm index f6f2f8cf..9e90ba48 100644 --- a/tests/apps_startstop/kde/kimport.pm +++ b/tests/apps_startstop/kde/kimport.pm @@ -7,9 +7,15 @@ use utils; sub run { my $self = shift; + my $mode = get_var('MODE'); # Start the application - start_with_launcher('kimport_launch','menu_applications','menu_utilities'); + if ($mode eq 'fast') { + start_with_command 'akonadiimportwizard'; + } + else { + start_with_launcher('kimport_launch','menu_applications','menu_utilities'); + } # Click ok to go further assert_and_click 'kde_ok'; wait_still_screen 2; diff --git a/tests/apps_startstop/kde/kmag.pm b/tests/apps_startstop/kde/kmag.pm index 5921c99e..1de06463 100644 --- a/tests/apps_startstop/kde/kmag.pm +++ b/tests/apps_startstop/kde/kmag.pm @@ -7,9 +7,15 @@ use utils; sub run { my $self = shift; + my $mode = get_var('MODE'); # Start the application - start_with_launcher('kmag_launch','menu_applications','menu_utilities'); + if ($mode eq 'fast') { + start_with_command 'kmag'; + } + else { + start_with_launcher('kmag_launch','menu_applications','menu_utilities'); + } # Check that it is started assert_screen 'kmag_runs'; # Close the application diff --git a/tests/apps_startstop/kde/kmail.pm b/tests/apps_startstop/kde/kmail.pm index 1c05162c..85e0c1fa 100644 --- a/tests/apps_startstop/kde/kmail.pm +++ b/tests/apps_startstop/kde/kmail.pm @@ -7,9 +7,15 @@ use utils; sub run { my $self = shift; + my $mode = get_var('MODE'); # Start the application - start_with_launcher('kmail_launch','menu_applications','menu_internet'); + if ($mode eq 'fast') { + start_with_command 'kmail'; + } + else { + start_with_launcher('kmail_launch','menu_applications','menu_internet'); + } # 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/kmail_header.pm b/tests/apps_startstop/kde/kmail_header.pm index e77f1003..9038b231 100644 --- a/tests/apps_startstop/kde/kmail_header.pm +++ b/tests/apps_startstop/kde/kmail_header.pm @@ -7,9 +7,15 @@ use utils; sub run { my $self = shift; + my $mode = get_var('MODE'); # Start the application - start_with_launcher('kmail_hedit_launch','menu_applications','menu_internet'); + if ($mode eq 'fast') { + start_with_command 'kmail header'; + } + else { + start_with_launcher('kmail_hedit_launch','menu_applications','menu_internet'); + } # Check that it is started assert_screen 'kmail_hedit_runs'; # Close the application diff --git a/tests/apps_startstop/kde/kmousetool.pm b/tests/apps_startstop/kde/kmousetool.pm index 3b45e3bc..107f1f46 100644 --- a/tests/apps_startstop/kde/kmousetool.pm +++ b/tests/apps_startstop/kde/kmousetool.pm @@ -7,9 +7,15 @@ use utils; sub run { my $self = shift; + my $mode = get_var('MODE'); # Start the application - start_with_launcher('kmousetool_launch','menu_applications','menu_utilities'); + if ($mode eq 'fast') { + start_with_command 'kmousetool'; + } + else { + start_with_launcher('kmousetool_launch','menu_applications','menu_utilities'); + } # Check that it is started assert_screen 'kmousetool_runs'; # Close the application diff --git a/tests/apps_startstop/kde/kmouth.pm b/tests/apps_startstop/kde/kmouth.pm index 6469cee8..5ae31206 100644 --- a/tests/apps_startstop/kde/kmouth.pm +++ b/tests/apps_startstop/kde/kmouth.pm @@ -7,9 +7,15 @@ use utils; sub run { my $self = shift; + my $mode = get_var('MODE'); # Start the application - start_with_launcher('kmouth_launch','menu_applications','menu_utilities'); + if ($mode eq 'fast') { + start_with_command 'kmouth'; + } + else { + start_with_launcher('kmouth_launch','menu_applications','menu_utilities'); + } # Deal with the welcome screens while (check_screen('kde_next', '1')){ assert_and_click 'kde_next'; diff --git a/tests/apps_startstop/kde/kolourpaint.pm b/tests/apps_startstop/kde/kolourpaint.pm index 272f36ef..e4209de1 100644 --- a/tests/apps_startstop/kde/kolourpaint.pm +++ b/tests/apps_startstop/kde/kolourpaint.pm @@ -7,9 +7,15 @@ use utils; sub run { my $self = shift; + my $mode = get_var('MODE'); # Start the application - start_with_launcher('kolourpaint_launch','menu_applications','menu_graphics'); + if ($mode eq 'fast') { + start_with_command 'kolourpaint'; + } + else { + start_with_launcher('kolourpaint_launch','menu_applications','menu_graphics'); + } # Check that it is started assert_screen 'kolourpaint_runs'; # Close the application