mirror of
				https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
				synced 2025-10-30 23:05:58 +00:00 
			
		
		
		
	Try and avoid launcher typing issues in more KDE tests
This is the same thing we do for the app_startstop tests in aaa_setup, applied to a couple of other places we use menu_launch_type in KDE and it's having trouble. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
		
							parent
							
								
									d142d2f4a1
								
							
						
					
					
						commit
						1edde53988
					
				| @ -23,6 +23,13 @@ sub run { | |||||||
| 
 | 
 | ||||||
|     # run the updater |     # run the updater | ||||||
|     if ($desktop eq 'kde') { |     if ($desktop eq 'kde') { | ||||||
|  |         # try and avoid double-typing issues, same way we do | ||||||
|  |         # for apps_startstop test | ||||||
|  |         wait_screen_change { send_key 'super'; }; | ||||||
|  |         wait_still_screen 3; | ||||||
|  |         send_key "k"; | ||||||
|  |         wait_still_screen 5; | ||||||
|  |         send_key "esc"; | ||||||
|         menu_launch_type('discover'); |         menu_launch_type('discover'); | ||||||
|         # Wait for it to run and maximize it to make sure we see the |         # Wait for it to run and maximize it to make sure we see the | ||||||
|         # Updates entry |         # Updates entry | ||||||
|  | |||||||
| @ -41,6 +41,15 @@ sub run { | |||||||
|     } |     } | ||||||
|     # Let's check, that the desktop is shown. |     # Let's check, that the desktop is shown. | ||||||
|     check_desktop(); |     check_desktop(); | ||||||
|  |     # On KDE, try and avoid double-typing issues, same way we do | ||||||
|  |     # for apps_startstop test | ||||||
|  |     if ($desktop eq "kde") { | ||||||
|  |         wait_screen_change { send_key 'super'; }; | ||||||
|  |         wait_still_screen 3; | ||||||
|  |         send_key "k"; | ||||||
|  |         wait_still_screen 5; | ||||||
|  |         send_key "esc"; | ||||||
|  |     } | ||||||
| 
 | 
 | ||||||
|     # Start the package manager application depending |     # Start the package manager application depending | ||||||
|     # on which DE we are on. |     # on which DE we are on. | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user