1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-02-16 12:34:32 +00:00

Set timeout to 60 on startstop needles.

This commit is contained in:
Lukas Ruzicka 2022-12-05 15:16:16 +01:00
parent f29572ba76
commit 1605706fb3
41 changed files with 41 additions and 41 deletions

View File

@ -10,7 +10,7 @@ sub run {
# Start the application # Start the application
menu_launch_type('akregator'); menu_launch_type('akregator');
# Check that it is started # Check that it is started
assert_screen 'akregator_runs'; assert_screen 'akregator_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -10,7 +10,7 @@ sub run {
# Start the application with command # Start the application with command
menu_launch_type 'ark'; menu_launch_type 'ark';
# Check that it is started # Check that it is started
assert_screen 'ark_runs'; assert_screen 'ark_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -9,7 +9,7 @@ sub run {
my $self = shift; my $self = shift;
menu_launch_type 'printthemeeditor'; menu_launch_type 'printthemeeditor';
# Check that it is started # Check that it is started
assert_screen 'cpteditor_runs'; assert_screen 'cpteditor_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -10,7 +10,7 @@ sub run {
menu_launch_type 'dbusviewer'; menu_launch_type 'dbusviewer';
# Check that it is started # Check that it is started
assert_screen 'dbusviewer_runs'; assert_screen 'dbusviewer_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'discover'; menu_launch_type 'discover';
# Check that it is started # Check that it is started
assert_screen 'discover_runs'; assert_screen 'discover_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'dnfdragora'; menu_launch_type 'dnfdragora';
# Check that it is started # Check that it is started
assert_screen 'dnfdragora_runs'; assert_screen 'dnfdragora_runs', timeout => 60;
sleep 60; sleep 60;
wait_still_screen 5; wait_still_screen 5;
# Close the application # Close the application

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'okular'; menu_launch_type 'okular';
# Check that it is started # Check that it is started
assert_screen 'docviewer_runs'; assert_screen 'docviewer_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'dolphin'; menu_launch_type 'dolphin';
# Check that it is started # Check that it is started
assert_screen 'dolphin_runs'; assert_screen 'dolphin_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -13,7 +13,7 @@ sub run {
# Check that it is started; this needle is from # Check that it is started; this needle is from
# needles/firefox, it already existed before the 'apps' tests # needles/firefox, it already existed before the 'apps' tests
# were created # were created
assert_screen 'firefox'; assert_screen 'firefox', timeout => 60;
# Close the application # Close the application
send_key 'alt-f4'; send_key 'alt-f4';
wait_still_screen 2; wait_still_screen 2;

View File

@ -13,7 +13,7 @@ sub run {
sleep 5; sleep 5;
# Firewall requires password to be entered and confirmed to start. # Firewall requires password to be entered and confirmed to start.
# View password # View password
assert_screen "auth_required"; assert_screen "auth_required", timeout => 60;
my $password = get_var('ROOT_PASSWORD', 'weakpassword'); my $password = get_var('ROOT_PASSWORD', 'weakpassword');
type_very_safely $password; type_very_safely $password;
send_key 'ret'; send_key 'ret';

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'gwenview'; menu_launch_type 'gwenview';
# Check that it is started # Check that it is started
assert_screen 'gwenview_runs'; assert_screen 'gwenview_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'help'; menu_launch_type 'help';
# Check that it is started # Check that it is started
assert_screen 'help_runs'; assert_screen 'help_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -13,7 +13,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'info'; menu_launch_type 'info';
# Check that it is started # Check that it is started
assert_screen 'infocenter_runs'; assert_screen 'infocenter_runs', timeout => 60;
# Open the Devices menu item. # Open the Devices menu item.
assert_and_click "infocenter_menu_devices"; assert_and_click "infocenter_menu_devices";
# If the disks module is present, open it # If the disks module is present, open it

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'kaddressbook'; menu_launch_type 'kaddressbook';
# Check that it is started # Check that it is started
assert_screen 'kaddressbook_runs'; assert_screen 'kaddressbook_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'kcalc'; menu_launch_type 'kcalc';
# Check that it is started # Check that it is started
assert_screen 'kcalc_runs'; assert_screen 'kcalc_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'kcharselect'; menu_launch_type 'kcharselect';
# Check that it is started # Check that it is started
assert_screen 'kcharselect_runs'; assert_screen 'kcharselect_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'kfind'; menu_launch_type 'kfind';
# Check that it is started # Check that it is started
assert_screen 'kfind_runs'; assert_screen 'kfind_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'kgpg'; menu_launch_type 'kgpg';
# Deal with the first wizard screen # Deal with the first wizard screen
assert_and_click 'kde_next'; assert_and_click 'kde_next', timeout => 60;
wait_still_screen 2; wait_still_screen 2;
# Deal with the second wizard screen # Deal with the second wizard screen
assert_and_click 'kde_next'; assert_and_click 'kde_next';

View File

@ -14,7 +14,7 @@ sub run {
assert_and_click 'kde_ok'; assert_and_click 'kde_ok';
wait_still_screen 2; wait_still_screen 2;
# Check that it is started # Check that it is started
assert_screen 'kimport_runs'; assert_screen 'kimport_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'kmag'; menu_launch_type 'kmag';
# Check that it is started # Check that it is started
assert_screen 'kmag_runs'; assert_screen 'kmag_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'kmail header'; menu_launch_type 'kmail header';
# Check that the application runs # Check that the application runs
assert_screen 'kmail_hedit_runs'; assert_screen 'kmail_hedit_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'kmousetool'; menu_launch_type 'kmousetool';
# Check that it is started # Check that it is started
assert_screen 'kmousetool_runs'; assert_screen 'kmousetool_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'kolourpaint'; menu_launch_type 'kolourpaint';
# Check that it is started # Check that it is started
assert_screen 'kolourpaint_runs'; assert_screen 'kolourpaint_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'konsole'; menu_launch_type 'konsole';
# Check that it is started # Check that it is started
assert_screen 'konsole_runs'; assert_screen 'konsole_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'konversation'; menu_launch_type 'konversation';
# Connect to Freenode # Connect to Freenode
assert_and_click 'konversation_connect'; assert_and_click 'konversation_connect', timeout => 60;
# Check that it is started # Check that it is started
assert_screen 'konversation_runs'; assert_screen 'konversation_runs';
# Close the application # Close the application

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'korganizer'; menu_launch_type 'korganizer';
# Check that it is started # Check that it is started
assert_screen 'korganizer_runs'; assert_screen 'korganizer_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'krdc'; menu_launch_type 'krdc';
# Check that it is started # Check that it is started
assert_screen 'krdc_runs'; assert_screen 'krdc_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'krfb'; menu_launch_type 'krfb';
# Check that it is started # Check that it is started
assert_screen 'krfb_runs'; assert_screen 'krfb_runs', timeout => 60;
wait_still_screen(3); wait_still_screen(3);
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'ktnef'; menu_launch_type 'ktnef';
# Check that it is started # Check that it is started
assert_screen 'ktnef_runs'; assert_screen 'ktnef_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'kwallet'; menu_launch_type 'kwallet';
# Check that it is started # Check that it is started
assert_screen 'kwallet_runs'; assert_screen 'kwallet_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'kwrite'; menu_launch_type 'kwrite';
# Check that it is started # Check that it is started
assert_screen 'kwrite_runs'; assert_screen 'kwrite_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -10,7 +10,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'libreoffice calc'; menu_launch_type 'libreoffice calc';
# Check that it is started # Check that it is started
assert_screen 'lcalc_runs'; assert_screen 'lcalc_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -10,7 +10,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'libreoffice impress'; menu_launch_type 'libreoffice impress';
# Check that it is started # Check that it is started
assert_screen 'limpress_runs'; assert_screen 'limpress_runs', timeout => 60;
# Close the template chooser, then the application # Close the template chooser, then the application
send_key 'alt-f4'; send_key 'alt-f4';
quit_with_shortcut(); quit_with_shortcut();

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'kmahjong'; menu_launch_type 'kmahjong';
# Check that it is started # Check that it is started
assert_screen 'mahjong_runs'; assert_screen 'mahjong_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'mediawriter'; menu_launch_type 'mediawriter';
# Check that it is started # Check that it is started
assert_screen 'fmw_runs'; assert_screen 'fmw_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'kmines'; menu_launch_type 'kmines';
# Check that it is started # Check that it is started
assert_screen 'minesweeper_runs'; assert_screen 'minesweeper_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'kpatience'; menu_launch_type 'kpatience';
# Check that it is started # Check that it is started
assert_screen 'patience_runs'; assert_screen 'patience_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'pim'; menu_launch_type 'pim';
# Check that it is started # Check that it is started
assert_screen 'pimexporter_runs'; assert_screen 'pimexporter_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -10,7 +10,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'system monitor'; menu_launch_type 'system monitor';
# Check that it is started # Check that it is started
assert_screen 'systemmonitor_runs'; assert_screen 'systemmonitor_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'spectacle'; menu_launch_type 'spectacle';
# Check that it is started # Check that it is started
assert_screen 'spectacle_runs'; assert_screen 'spectacle_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }

View File

@ -11,7 +11,7 @@ sub run {
# Start the application # Start the application
menu_launch_type 'system settings'; menu_launch_type 'system settings';
# Check that it is started # Check that it is started
assert_screen 'system_settings_runs'; assert_screen 'system_settings_runs', timeout => 60;
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }