mirror of
				https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
				synced 2025-10-31 15:16:00 +00:00 
			
		
		
		
	Show details if an error appears.
When Software complains about something, it shows a grey banner in the lower part with a button to click (Details). The update test has not utilized this anyhow, so if it happened, we would not know what the error was. This fix makes sure to click on the Details button when it appears, revealing the reason behind it, which could help us understand what happened.
This commit is contained in:
		
							parent
							
								
									7caedda0dd
								
							
						
					
					
						commit
						f9c0433acb
					
				
							
								
								
									
										16
									
								
								needles/gnome/apps/software_button_details.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								needles/gnome/apps/software_button_details.json
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,16 @@ | |||||||
|  | { | ||||||
|  |   "properties": [], | ||||||
|  |   "tags": [ | ||||||
|  |     "software_button_details" | ||||||
|  |   ], | ||||||
|  |   "area": [ | ||||||
|  |     { | ||||||
|  |       "xpos": 610, | ||||||
|  |       "ypos": 711, | ||||||
|  |       "width": 57, | ||||||
|  |       "height": 20, | ||||||
|  |       "type": "match", | ||||||
|  |       "match": "90" | ||||||
|  |     } | ||||||
|  |   ] | ||||||
|  | } | ||||||
							
								
								
									
										
											BIN
										
									
								
								needles/gnome/apps/software_button_details.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								needles/gnome/apps/software_button_details.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 42 KiB | 
| @ -96,6 +96,12 @@ sub run { | |||||||
|                     # https://gitlab.gnome.org/GNOME/gnome-software/-/issues/2246 |                     # https://gitlab.gnome.org/GNOME/gnome-software/-/issues/2246 | ||||||
|                     click_lastmatch if (check_screen "desktop_package_tool_update_download_unsigned", 30); |                     click_lastmatch if (check_screen "desktop_package_tool_update_download_unsigned", 30); | ||||||
|                 } |                 } | ||||||
|  |                 # If there is an issue and Software reports it, let us click | ||||||
|  |                 # "Details" to see what the problem was to make later | ||||||
|  |                 # troubleshooting easier. | ||||||
|  |                 if (check_screen("software_button_details", timeout => 30)) { | ||||||
|  |                     click_lastmatch(); | ||||||
|  |                 } | ||||||
|                 $tags = ['desktop_package_tool_update_apply']; |                 $tags = ['desktop_package_tool_update_apply']; | ||||||
|                 next; |                 next; | ||||||
|             } |             } | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user