diff --git a/tests/apps_startstop/kde/dbusviewer.pm b/tests/apps_startstop/kde/dbusviewer.pm index d2d81a7c..8ff62f83 100644 --- a/tests/apps_startstop/kde/dbusviewer.pm +++ b/tests/apps_startstop/kde/dbusviewer.pm @@ -7,9 +7,15 @@ use utils; sub run { my $self = shift; + my $mode = get_var('MODE'); - # Start the application - start_with_launcher('dbusviewer_launch', 'menu_applications','menu_development'); + if ($mode eq 'fast') { + start_with_command 'dbusviewer'; + } + else { + # Start the application + start_with_launcher('dbusviewer_launch', 'menu_applications','menu_development'); + } # Check that it is started assert_screen 'dbusviewer_runs'; # Close the application diff --git a/tests/apps_startstop/kde/discover.pm b/tests/apps_startstop/kde/discover.pm index bf708404..d6893307 100644 --- a/tests/apps_startstop/kde/discover.pm +++ b/tests/apps_startstop/kde/discover.pm @@ -7,9 +7,15 @@ use utils; sub run { my $self = shift; + my $mode = get_var('MODE'); # Start the application - start_with_launcher('discover_launch','menu_applications','menu_system'); + if ($mode eq 'fast') { + start_with_command 'discover'; + } + else { + start_with_launcher('discover_launch','menu_applications','menu_system'); + } # Check that it is started assert_screen 'discover_runs'; # Close the application diff --git a/tests/apps_startstop/kde/dnfdragora.pm b/tests/apps_startstop/kde/dnfdragora.pm index 3c317730..7f616c31 100644 --- a/tests/apps_startstop/kde/dnfdragora.pm +++ b/tests/apps_startstop/kde/dnfdragora.pm @@ -7,9 +7,15 @@ use utils; sub run { my $self = shift; + my $mode = get_var('MODE'); # Start the application - start_with_launcher('dnfdragora_launch', 'menu_applications','menu_administration'); + if ($mode eq 'fast') { + start_with_command 'dnfdragora'; + } + else { + start_with_launcher('dnfdragora_launch', 'menu_applications','menu_administration'); + } # Check that it is started assert_screen 'dnfdragora_runs'; sleep 60; diff --git a/tests/apps_startstop/kde/docviewer.pm b/tests/apps_startstop/kde/docviewer.pm index 1690802a..3d885886 100644 --- a/tests/apps_startstop/kde/docviewer.pm +++ b/tests/apps_startstop/kde/docviewer.pm @@ -7,9 +7,15 @@ use utils; sub run { my $self = shift; - + my $mode = get_var('MODE'); + # Start the application - start_with_launcher('docviewer_launch', 'menu_applications','menu_graphics'); + if ($mode eq 'fast') { + start_with_command 'okular'; + } + else { + start_with_launcher('docviewer_launch', 'menu_applications','menu_graphics'); + } # Check that it is started assert_screen 'docviewer_runs'; # Close the application