mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-08-01 06:35:44 +00:00
Add more tests.
This commit is contained in:
parent
c7b34c10be
commit
a6a01dbb9f
@ -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
|
||||||
start_with_launcher('konqueror_launch','menu_applications','menu_internet');
|
if ($mode eq 'fast') {
|
||||||
|
start_with_command 'konqueror';
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
start_with_launcher('konqueror_launch','menu_applications','menu_internet');
|
||||||
|
}
|
||||||
# Check that it is started
|
# Check that it is started
|
||||||
assert_screen 'konqueror_runs';
|
assert_screen 'konqueror_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
|
||||||
start_with_launcher('konsole_launch','menu_applications','menu_system');
|
if ($mode eq 'fast') {
|
||||||
|
start_with_command 'konsole';
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
start_with_launcher('konsole_launch','menu_applications','menu_system');
|
||||||
|
}
|
||||||
# Check that it is started
|
# Check that it is started
|
||||||
assert_screen 'konsole_runs';
|
assert_screen 'konsole_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
|
||||||
start_with_launcher('kontact_launch','menu_applications','menu_office');
|
if ($mode eq 'fast') {
|
||||||
|
start_with_command 'kontact';
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
start_with_launcher('kontact_launch','menu_applications','menu_office');
|
||||||
|
}
|
||||||
# Enable unified mailboxes, if they appear
|
# Enable unified mailboxes, if they appear
|
||||||
if (check_screen("enable_unified_mailboxes", 1)) {
|
if (check_screen("enable_unified_mailboxes", 1)) {
|
||||||
assert_and_click "enable_unified_mailboxes";
|
assert_and_click "enable_unified_mailboxes";
|
||||||
|
@ -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
|
||||||
start_with_launcher('konversation_launch','menu_applications','menu_internet');
|
if ($mode eq 'fast') {
|
||||||
|
start_with_command 'konversation';
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
start_with_launcher('konversation_launch','menu_applications','menu_internet');
|
||||||
|
}
|
||||||
# Connect to Freenode
|
# Connect to Freenode
|
||||||
assert_and_click 'konversation_connect';
|
assert_and_click 'konversation_connect';
|
||||||
# Check that it is started
|
# Check that it is started
|
||||||
|
@ -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
|
||||||
start_with_launcher('korganizer_launch','menu_applications','menu_office');
|
if ($mode eq 'fast') {
|
||||||
|
start_with_command 'korganizer';
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
start_with_launcher('korganizer_launch','menu_applications','menu_office');
|
||||||
|
}
|
||||||
# Check that it is started
|
# Check that it is started
|
||||||
assert_screen 'korganizer_runs';
|
assert_screen 'korganizer_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
|
||||||
start_with_launcher('kparted_launch','menu_applications','menu_system');
|
if ($mode eq 'fast') {
|
||||||
|
start_with_command 'kparted';
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
start_with_launcher('kparted_launch','menu_applications','menu_system');
|
||||||
|
}
|
||||||
# Provide root password to run the application
|
# Provide root password to run the application
|
||||||
type_very_safely(get_var("ROOT_PASSWORD", "weakpassword"));
|
type_very_safely(get_var("ROOT_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
|
||||||
start_with_launcher('krdc_launch','menu_applications','menu_internet');
|
if ($mode eq 'fast') {
|
||||||
|
start_with_command 'krdc';
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
start_with_launcher('krdc_launch','menu_applications','menu_internet');
|
||||||
|
}
|
||||||
# Check that it is started
|
# Check that it is started
|
||||||
assert_screen 'krdc_runs';
|
assert_screen 'krdc_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
|
||||||
start_with_launcher('krfb_launch','menu_applications','menu_internet');
|
if ($mode eq 'fast') {
|
||||||
|
start_with_command 'krfb';
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
start_with_launcher('krfb_launch','menu_applications','menu_internet');
|
||||||
|
}
|
||||||
# Check that it is started
|
# Check that it is started
|
||||||
assert_screen 'krfb_runs';
|
assert_screen 'krfb_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
|
||||||
start_with_launcher('menu_graphics_more_apps', 'menu_applications','menu_graphics');
|
if ($mode eq 'fast') {
|
||||||
|
start_with_command 'kruler';
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
start_with_launcher('menu_graphics_more_apps', 'menu_applications','menu_graphics');
|
||||||
|
}
|
||||||
# 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.
|
||||||
send_key_until_needlematch('kruler_launch', 'down', 6, 2);
|
send_key_until_needlematch('kruler_launch', 'down', 6, 2);
|
||||||
assert_and_click 'kruler_launch';
|
assert_and_click 'kruler_launch';
|
||||||
|
Loading…
Reference in New Issue
Block a user