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:
parent
a6a01dbb9f
commit
5da31cbd4d
@ -9,14 +9,12 @@ sub run {
|
||||
my $self = shift;
|
||||
my $mode = get_var('MODE');
|
||||
|
||||
# Start the application
|
||||
if ($mode eq 'fast') {
|
||||
|
||||
# Start the application
|
||||
start_with_launcher('abrt_launch', 'menu_applications','menu_system');
|
||||
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';
|
||||
|
@ -7,9 +7,15 @@ use utils;
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
my $mode = get_var('MODE');
|
||||
|
||||
# Start the application
|
||||
start_with_launcher('krusader_launch','menu_applications','menu_utilities');
|
||||
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';
|
||||
|
@ -7,9 +7,15 @@ use utils;
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
my $mode = get_var('MODE');
|
||||
|
||||
# Start the application
|
||||
start_with_launcher('ksysguard_launch','menu_applications','menu_system');
|
||||
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
|
||||
|
@ -7,9 +7,15 @@ use utils;
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
my $mode = get_var('MODE');
|
||||
|
||||
# Start the application
|
||||
start_with_launcher('ktnef_launch','menu_applications','menu_internet');
|
||||
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
|
||||
|
@ -7,9 +7,15 @@ use utils;
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
my $mode = get_var('MODE');
|
||||
|
||||
# Start the application
|
||||
start_with_launcher('ktorrent_launch','menu_applications','menu_internet');
|
||||
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
|
||||
|
@ -7,9 +7,15 @@ use utils;
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
my $mode = get_var('MODE');
|
||||
|
||||
# Start the application
|
||||
start_with_launcher('kwallet_launch','menu_applications','menu_system');
|
||||
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
|
||||
|
@ -7,9 +7,15 @@ use utils;
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
my $mode = get_var('MODE');
|
||||
|
||||
# Start the application
|
||||
start_with_launcher('kwrite_launch','menu_applications','menu_utilities');
|
||||
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
|
||||
|
@ -7,9 +7,15 @@ use utils;
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
my $mode = get_var('MODE');
|
||||
|
||||
# Start the application
|
||||
start_with_launcher('language_launch', 'menu_applications','menu_administration');
|
||||
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';
|
||||
|
@ -7,9 +7,15 @@ use utils;
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
my $mode = get_var('MODE');
|
||||
|
||||
# Start the application
|
||||
start_with_launcher('menu_boardgames', 'menu_applications','menu_games');
|
||||
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;
|
||||
|
@ -7,9 +7,15 @@ use utils;
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
my $mode = get_var('MODE');
|
||||
|
||||
# Start the application
|
||||
start_with_launcher('fmw_launch','menu_applications','menu_system');
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user