1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-01-06 01:13:07 +00:00

Add more changed tests.

This commit is contained in:
Lukas Ruzicka 2019-05-07 13:03:23 +02:00
parent c2f8309e27
commit 7649147e1d
4 changed files with 30 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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;

View File

@ -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