mirror of
				https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
				synced 2025-10-30 23:05:58 +00:00 
			
		
		
		
	Add more revisited tests.
This commit is contained in:
		
							parent
							
								
									7649147e1d
								
							
						
					
					
						commit
						3bb79067aa
					
				| @ -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 'dolphin'; | ||||||
|  |     } | ||||||
|  |     else { | ||||||
|         start_with_launcher('dolphin_launch','menu_applications','menu_system'); |         start_with_launcher('dolphin_launch','menu_applications','menu_system'); | ||||||
|  |     } | ||||||
|     # Check that it is started |     # Check that it is started | ||||||
|     assert_screen 'dolphin_runs'; |     assert_screen 'dolphin_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 'falkon'; | ||||||
|  |     } | ||||||
|  |     else { | ||||||
|         start_with_launcher('falkon_launch','menu_applications','menu_internet'); |         start_with_launcher('falkon_launch','menu_applications','menu_internet'); | ||||||
|  |     } | ||||||
|     # Check that it is started |     # Check that it is started | ||||||
|     assert_screen 'falkon_runs'; |     assert_screen 'falkon_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 'firefox'; | ||||||
|  |     } | ||||||
|  |     else { | ||||||
|         start_with_launcher('firefox_launch','menu_applications','menu_internet'); |         start_with_launcher('firefox_launch','menu_applications','menu_internet'); | ||||||
|  |     } | ||||||
|     # 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 | ||||||
|  | |||||||
| @ -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 'firewall'; | ||||||
|  |     } | ||||||
|  |     else { | ||||||
|         start_with_launcher('firewall_launch', 'menu_applications','menu_administration'); |         start_with_launcher('firewall_launch', 'menu_applications','menu_administration'); | ||||||
|  |     } | ||||||
|     # Firewall requires password to be entered and confirmed to start. |     # Firewall requires password to be entered and confirmed to start. | ||||||
|     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 | ||||||
|  |     if ($mode eq 'fast') { | ||||||
|  |         start_with_command 'gwenview'; | ||||||
|  |     } | ||||||
|  |     else { | ||||||
|         start_with_launcher('gwenview_launch','menu_applications','menu_graphics'); |         start_with_launcher('gwenview_launch','menu_applications','menu_graphics'); | ||||||
|  |     } | ||||||
|     # Check that it is started |     # Check that it is started | ||||||
|     assert_screen 'gwenview_runs'; |     assert_screen 'gwenview_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 'help'; | ||||||
|  |     } | ||||||
|  |     else { | ||||||
|         start_with_launcher('help_launch','menu_applications'); |         start_with_launcher('help_launch','menu_applications'); | ||||||
|  |     } | ||||||
|     # Check that it is started |     # Check that it is started | ||||||
|     assert_screen 'help_runs'; |     assert_screen 'help_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 'info'; | ||||||
|  |     } | ||||||
|  |     else { | ||||||
|         start_with_launcher('infocenter_launch','menu_applications','menu_system'); |         start_with_launcher('infocenter_launch','menu_applications','menu_system'); | ||||||
|  |     } | ||||||
|     # Check that it is started |     # Check that it is started | ||||||
|     assert_screen 'infocenter_runs'; |     assert_screen 'infocenter_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 '[ast') { | ||||||
|  |         start_with_command 'juk'; | ||||||
|  |     } | ||||||
|  |     else { | ||||||
|         start_with_launcher('juk_launch','menu_applications','menu_multimedia'); |         start_with_launcher('juk_launch','menu_applications','menu_multimedia'); | ||||||
|  |     } | ||||||
|     # Dismiss a setting window |     # Dismiss a setting window | ||||||
|     assert_and_click 'juk_cancel'; |     assert_and_click 'juk_cancel'; | ||||||
|     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 'k3b'; | ||||||
|  |     } | ||||||
|  |     else { | ||||||
|         start_with_launcher('k3b_launch','menu_applications','menu_multimedia'); |         start_with_launcher('k3b_launch','menu_applications','menu_multimedia'); | ||||||
|  |     } | ||||||
|     # Get rid of no burner warning |     # Get rid of no burner warning | ||||||
|     assert_and_click 'k3b_burner_warning'; |     assert_and_click 'k3b_burner_warning'; | ||||||
|     # 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 | ||||||
|  |     if ($mode eq 'fast') { | ||||||
|  |         start_with_command 'kaddressbook'; | ||||||
|  |     } | ||||||
|  |     else { | ||||||
|         start_with_launcher('kaddressbook_launch','menu_applications','menu_office'); |         start_with_launcher('kaddressbook_launch','menu_applications','menu_office'); | ||||||
|  |     } | ||||||
|     # Check that it is started |     # Check that it is started | ||||||
|     assert_screen 'kaddressbook_runs'; |     assert_screen 'kaddressbook_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 '[ast') { | ||||||
|  |         start_with_command 'kcalc'; | ||||||
|  |     } | ||||||
|  |     else { | ||||||
|         start_with_launcher('kcalc_launch','menu_applications','menu_utilities'); |         start_with_launcher('kcalc_launch','menu_applications','menu_utilities'); | ||||||
|  |     } | ||||||
|     # Check that it is started |     # Check that it is started | ||||||
|     assert_screen 'kcalc_runs'; |     assert_screen 'kcalc_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 'kcharselect'; | ||||||
|  |     } | ||||||
|  |     else { | ||||||
|         start_with_launcher('kcharselect_launch','menu_applications','menu_utilities'); |         start_with_launcher('kcharselect_launch','menu_applications','menu_utilities'); | ||||||
|  |     } | ||||||
|     # Check that it is started |     # Check that it is started | ||||||
|     assert_screen 'kcharselect_runs'; |     assert_screen 'kcharselect_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 'kcolorchooser'; | ||||||
|  |     } | ||||||
|  |     else { | ||||||
|         start_with_launcher('menu_graphics_more_apps', 'menu_applications','menu_graphics'); |         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. | ||||||
|     assert_and_click 'kcolorchooser_launch'; |     assert_and_click 'kcolorchooser_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 'kfind'; | ||||||
|  |     } | ||||||
|  |     else { | ||||||
|         start_with_launcher('kfind_launch','menu_applications','menu_utilities'); |         start_with_launcher('kfind_launch','menu_applications','menu_utilities'); | ||||||
|  |     } | ||||||
|     # Check that it is started |     # Check that it is started | ||||||
|     assert_screen 'kfind_runs'; |     assert_screen 'kfind_runs'; | ||||||
|     # Close the application |     # Close the application | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user