1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-01-20 23:53:10 +00:00

Other tests.

This commit is contained in:
Lukas Ruzicka 2019-05-07 16:08:54 +02:00
parent a6a01dbb9f
commit 5da31cbd4d
10 changed files with 66 additions and 14 deletions

View File

@ -9,14 +9,12 @@ sub run {
my $self = shift;
my $mode = get_var('MODE');
if ($mode eq 'fast') {
# Start the application
start_with_launcher('abrt_launch', 'menu_applications','menu_system');
if ($mode eq 'fast') {
start_with_command('abrt');
}
else {
# Start the application via command.
start_with_command('abrt');
start_with_launcher('abrt_launch', 'menu_applications','menu_system');
}
# Check that it is started
assert_screen 'abrt_runs';

View File

@ -7,9 +7,15 @@ use utils;
sub run {
my $self = shift;
my $mode = get_var('MODE');
# Start the application
if ($mode eq 'fast') {
start_with_command 'krusader';
}
else {
start_with_launcher('krusader_launch','menu_applications','menu_utilities');
}
# Deal with the welcome screens
while (check_screen('krusader_welcome', '1')){
assert_and_click 'krusader_welcome';

View File

@ -7,9 +7,15 @@ use utils;
sub run {
my $self = shift;
my $mode = get_var('MODE');
# Start the application
if ($mode eq 'fast') {
start_with_command 'ksysguard';
}
else {
start_with_launcher('ksysguard_launch','menu_applications','menu_system');
}
# Check that it is started
assert_screen 'ksysguard_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
if ($mode eq 'fast') {
start_with_command 'ktnef';
}
else {
start_with_launcher('ktnef_launch','menu_applications','menu_internet');
}
# Check that it is started
assert_screen 'ktnef_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
if ($mode eq 'fast') {
start_with_command 'ktorrent';
}
else {
start_with_launcher('ktorrent_launch','menu_applications','menu_internet');
}
# Check that it is started
assert_screen 'ktorrent_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
if ($mode eq 'fast') {
start_with_command 'kwallet';
}
else {
start_with_launcher('kwallet_launch','menu_applications','menu_system');
}
# Check that it is started
assert_screen 'kwallet_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
if ($mode eq 'fast') {
start_with_command 'kwrite';
}
else {
start_with_launcher('kwrite_launch','menu_applications','menu_utilities');
}
# Check that it is started
assert_screen 'kwrite_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
if ($mode eq 'fast') {
start_with_command 'language';
}
else {
start_with_launcher('language_launch', 'menu_applications','menu_administration');
}
# Deal with confirmation window
type_very_safely(get_var('USER_PASSWORD', 'weakpassword'));
send_key 'ret';

View File

@ -7,9 +7,15 @@ use utils;
sub run {
my $self = shift;
my $mode = get_var('MODE');
# Start the application
if ($mode eq 'fast') {
start_with_command 'kmahjong';
}
else {
start_with_launcher('menu_boardgames', 'menu_applications','menu_games');
}
# Games are hidden even deeper in menus, so let us fix that here.
assert_and_click 'mahjong_launch';
wait_still_screen 2;

View File

@ -7,9 +7,15 @@ use utils;
sub run {
my $self = shift;
my $mode = get_var('MODE');
# Start the application
if ($mode eq 'fast') {
start_with_command 'mediawriter';
}
else {
start_with_launcher('fmw_launch','menu_applications','menu_system');
}
# Check that it is started
assert_screen 'fmw_runs';
# Close the application