mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-02-01 13:13:08 +00:00
Other tests.
This commit is contained in:
parent
a6a01dbb9f
commit
5da31cbd4d
@ -9,14 +9,12 @@ sub run {
|
|||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $mode = get_var('MODE');
|
my $mode = get_var('MODE');
|
||||||
|
|
||||||
if ($mode eq 'fast') {
|
|
||||||
|
|
||||||
# Start the application
|
# Start the application
|
||||||
start_with_launcher('abrt_launch', 'menu_applications','menu_system');
|
if ($mode eq 'fast') {
|
||||||
|
start_with_command('abrt');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
# Start the application via command.
|
start_with_launcher('abrt_launch', 'menu_applications','menu_system');
|
||||||
start_with_command('abrt');
|
|
||||||
}
|
}
|
||||||
# Check that it is started
|
# Check that it is started
|
||||||
assert_screen 'abrt_runs';
|
assert_screen 'abrt_runs';
|
||||||
|
@ -7,9 +7,15 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
my $mode = get_var('MODE');
|
||||||
|
|
||||||
# Start the application
|
# Start the application
|
||||||
|
if ($mode eq 'fast') {
|
||||||
|
start_with_command 'krusader';
|
||||||
|
}
|
||||||
|
else {
|
||||||
start_with_launcher('krusader_launch','menu_applications','menu_utilities');
|
start_with_launcher('krusader_launch','menu_applications','menu_utilities');
|
||||||
|
}
|
||||||
# Deal with the welcome screens
|
# Deal with the welcome screens
|
||||||
while (check_screen('krusader_welcome', '1')){
|
while (check_screen('krusader_welcome', '1')){
|
||||||
assert_and_click 'krusader_welcome';
|
assert_and_click 'krusader_welcome';
|
||||||
|
@ -7,9 +7,15 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
my $mode = get_var('MODE');
|
||||||
|
|
||||||
# Start the application
|
# Start the application
|
||||||
|
if ($mode eq 'fast') {
|
||||||
|
start_with_command 'ksysguard';
|
||||||
|
}
|
||||||
|
else {
|
||||||
start_with_launcher('ksysguard_launch','menu_applications','menu_system');
|
start_with_launcher('ksysguard_launch','menu_applications','menu_system');
|
||||||
|
}
|
||||||
# Check that it is started
|
# Check that it is started
|
||||||
assert_screen 'ksysguard_runs';
|
assert_screen 'ksysguard_runs';
|
||||||
# Close the application
|
# Close the application
|
||||||
|
@ -7,9 +7,15 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
my $mode = get_var('MODE');
|
||||||
|
|
||||||
# Start the application
|
# Start the application
|
||||||
|
if ($mode eq 'fast') {
|
||||||
|
start_with_command 'ktnef';
|
||||||
|
}
|
||||||
|
else {
|
||||||
start_with_launcher('ktnef_launch','menu_applications','menu_internet');
|
start_with_launcher('ktnef_launch','menu_applications','menu_internet');
|
||||||
|
}
|
||||||
# Check that it is started
|
# Check that it is started
|
||||||
assert_screen 'ktnef_runs';
|
assert_screen 'ktnef_runs';
|
||||||
# Close the application
|
# Close the application
|
||||||
|
@ -7,9 +7,15 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
my $mode = get_var('MODE');
|
||||||
|
|
||||||
# Start the application
|
# Start the application
|
||||||
|
if ($mode eq 'fast') {
|
||||||
|
start_with_command 'ktorrent';
|
||||||
|
}
|
||||||
|
else {
|
||||||
start_with_launcher('ktorrent_launch','menu_applications','menu_internet');
|
start_with_launcher('ktorrent_launch','menu_applications','menu_internet');
|
||||||
|
}
|
||||||
# Check that it is started
|
# Check that it is started
|
||||||
assert_screen 'ktorrent_runs';
|
assert_screen 'ktorrent_runs';
|
||||||
# Close the application
|
# Close the application
|
||||||
|
@ -7,9 +7,15 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
my $mode = get_var('MODE');
|
||||||
|
|
||||||
# Start the application
|
# Start the application
|
||||||
|
if ($mode eq 'fast') {
|
||||||
|
start_with_command 'kwallet';
|
||||||
|
}
|
||||||
|
else {
|
||||||
start_with_launcher('kwallet_launch','menu_applications','menu_system');
|
start_with_launcher('kwallet_launch','menu_applications','menu_system');
|
||||||
|
}
|
||||||
# Check that it is started
|
# Check that it is started
|
||||||
assert_screen 'kwallet_runs';
|
assert_screen 'kwallet_runs';
|
||||||
# Close the application
|
# Close the application
|
||||||
|
@ -7,9 +7,15 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
my $mode = get_var('MODE');
|
||||||
|
|
||||||
# Start the application
|
# Start the application
|
||||||
|
if ($mode eq 'fast') {
|
||||||
|
start_with_command 'kwrite';
|
||||||
|
}
|
||||||
|
else {
|
||||||
start_with_launcher('kwrite_launch','menu_applications','menu_utilities');
|
start_with_launcher('kwrite_launch','menu_applications','menu_utilities');
|
||||||
|
}
|
||||||
# Check that it is started
|
# Check that it is started
|
||||||
assert_screen 'kwrite_runs';
|
assert_screen 'kwrite_runs';
|
||||||
# Close the application
|
# Close the application
|
||||||
|
@ -7,9 +7,15 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
my $mode = get_var('MODE');
|
||||||
|
|
||||||
# Start the application
|
# Start the application
|
||||||
|
if ($mode eq 'fast') {
|
||||||
|
start_with_command 'language';
|
||||||
|
}
|
||||||
|
else {
|
||||||
start_with_launcher('language_launch', 'menu_applications','menu_administration');
|
start_with_launcher('language_launch', 'menu_applications','menu_administration');
|
||||||
|
}
|
||||||
# Deal with confirmation window
|
# Deal with confirmation window
|
||||||
type_very_safely(get_var('USER_PASSWORD', 'weakpassword'));
|
type_very_safely(get_var('USER_PASSWORD', 'weakpassword'));
|
||||||
send_key 'ret';
|
send_key 'ret';
|
||||||
|
@ -7,9 +7,15 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
my $mode = get_var('MODE');
|
||||||
|
|
||||||
# Start the application
|
# Start the application
|
||||||
|
if ($mode eq 'fast') {
|
||||||
|
start_with_command 'kmahjong';
|
||||||
|
}
|
||||||
|
else {
|
||||||
start_with_launcher('menu_boardgames', 'menu_applications','menu_games');
|
start_with_launcher('menu_boardgames', 'menu_applications','menu_games');
|
||||||
|
}
|
||||||
# Games are hidden even deeper in menus, so let us fix that here.
|
# Games are hidden even deeper in menus, so let us fix that here.
|
||||||
assert_and_click 'mahjong_launch';
|
assert_and_click 'mahjong_launch';
|
||||||
wait_still_screen 2;
|
wait_still_screen 2;
|
||||||
|
@ -7,9 +7,15 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
my $mode = get_var('MODE');
|
||||||
|
|
||||||
# Start the application
|
# Start the application
|
||||||
|
if ($mode eq 'fast') {
|
||||||
|
start_with_command 'mediawriter';
|
||||||
|
}
|
||||||
|
else {
|
||||||
start_with_launcher('fmw_launch','menu_applications','menu_system');
|
start_with_launcher('fmw_launch','menu_applications','menu_system');
|
||||||
|
}
|
||||||
# Check that it is started
|
# Check that it is started
|
||||||
assert_screen 'fmw_runs';
|
assert_screen 'fmw_runs';
|
||||||
# Close the application
|
# Close the application
|
||||||
|
Loading…
Reference in New Issue
Block a user