Update and rationalize KDE app "cancel" needles
We have three different needles which all match on a stock KDE "cancel" button. Let's just have one. Also, update it for latest Rawhide/F36 KDE. Signed-off-by: Adam Williamson <awilliam@redhat.com>
| @ -10,6 +10,6 @@ | |||||||
|   ], |   ], | ||||||
|   "properties": [], |   "properties": [], | ||||||
|   "tags": [ |   "tags": [ | ||||||
|     "kgpg_keypair_cancel" |     "kde_cancel_button" | ||||||
|   ] |   ] | ||||||
| } | } | ||||||
| Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 90 KiB | 
							
								
								
									
										15
									
								
								needles/kde/apps/kde_cancel_button-20220225.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @ -0,0 +1,15 @@ | |||||||
|  | { | ||||||
|  |     "area": [ | ||||||
|  |         { | ||||||
|  |             "height": 15, | ||||||
|  |             "type": "match", | ||||||
|  |             "width": 44, | ||||||
|  |             "xpos": 631, | ||||||
|  |             "ypos": 656 | ||||||
|  |         } | ||||||
|  |     ], | ||||||
|  |     "properties": [], | ||||||
|  |     "tags": [ | ||||||
|  |         "kde_cancel_button" | ||||||
|  |     ] | ||||||
|  | } | ||||||
							
								
								
									
										
											BIN
										
									
								
								needles/kde/apps/kde_cancel_button-20220225.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 60 KiB | 
| @ -1,15 +0,0 @@ | |||||||
| { |  | ||||||
|   "area": [ |  | ||||||
|     { |  | ||||||
|       "type": "match", |  | ||||||
|       "ypos": 694, |  | ||||||
|       "width": 20, |  | ||||||
|       "xpos": 938, |  | ||||||
|       "height": 17 |  | ||||||
|     } |  | ||||||
|   ], |  | ||||||
|   "properties": [], |  | ||||||
|   "tags": [ |  | ||||||
|     "kmail_cancel_data" |  | ||||||
|   ] |  | ||||||
| } |  | ||||||
| Before Width: | Height: | Size: 211 KiB | 
| @ -1,15 +0,0 @@ | |||||||
| { |  | ||||||
|   "properties": [], |  | ||||||
|   "tags": [ |  | ||||||
|     "kmail_cancel_data" |  | ||||||
|   ], |  | ||||||
|   "area": [ |  | ||||||
|     { |  | ||||||
|       "xpos": 657, |  | ||||||
|       "ypos": 595, |  | ||||||
|       "width": 20, |  | ||||||
|       "height": 17, |  | ||||||
|       "type": "match" |  | ||||||
|     } |  | ||||||
|   ] |  | ||||||
| } |  | ||||||
| Before Width: | Height: | Size: 268 KiB | 
| @ -1,15 +0,0 @@ | |||||||
| { |  | ||||||
|   "area": [ |  | ||||||
|     { |  | ||||||
|       "type": "match", |  | ||||||
|       "height": 16, |  | ||||||
|       "width": 66, |  | ||||||
|       "xpos": 394, |  | ||||||
|       "ypos": 599 |  | ||||||
|     } |  | ||||||
|   ], |  | ||||||
|   "properties": [], |  | ||||||
|   "tags": [ |  | ||||||
|     "kontact_provide_data" |  | ||||||
|   ] |  | ||||||
| } |  | ||||||
| Before Width: | Height: | Size: 89 KiB | 
| @ -1,15 +0,0 @@ | |||||||
| { |  | ||||||
|   "area": [ |  | ||||||
|     { |  | ||||||
|       "ypos": 694, |  | ||||||
|       "type": "match", |  | ||||||
|       "height": 16, |  | ||||||
|       "xpos": 938, |  | ||||||
|       "width": 66 |  | ||||||
|     } |  | ||||||
|   ], |  | ||||||
|   "properties": [], |  | ||||||
|   "tags": [ |  | ||||||
|     "kontact_provide_data" |  | ||||||
|   ] |  | ||||||
| } |  | ||||||
| Before Width: | Height: | Size: 79 KiB | 
| @ -26,7 +26,7 @@ sub run { | |||||||
|     assert_and_click 'kgpg_done'; |     assert_and_click 'kgpg_done'; | ||||||
|     wait_still_screen 2; |     wait_still_screen 2; | ||||||
|     # Cancel the keypair creation |     # Cancel the keypair creation | ||||||
|     assert_and_click 'kgpg_keypair_cancel'; |     assert_and_click 'kde_cancel_button'; | ||||||
|     wait_still_screen 2; |     wait_still_screen 2; | ||||||
|     # Check that it is started |     # Check that it is started | ||||||
|     assert_screen 'kgpg_runs'; |     assert_screen 'kgpg_runs'; | ||||||
|  | |||||||
| @ -11,9 +11,9 @@ sub run { | |||||||
|     # Start the application |     # Start the application | ||||||
|     menu_launch_type 'kmail'; |     menu_launch_type 'kmail'; | ||||||
|     # Cancel Kmail data wizard |     # Cancel Kmail data wizard | ||||||
|     assert_and_click 'kmail_cancel_data'; |     assert_and_click 'kde_cancel_button'; | ||||||
|     if (check_screen("kmail_cancel_data", 1)) { |     if (check_screen("kde_cancel_button", 1)) { | ||||||
|         assert_and_click "kmail_cancel_data"; |         click_lastmatch; | ||||||
|     } |     } | ||||||
|     # Check that it is started |     # Check that it is started | ||||||
|     assert_screen 'kmail_runs'; |     assert_screen 'kmail_runs'; | ||||||
|  | |||||||
| @ -11,7 +11,7 @@ sub run { | |||||||
|     # Start the application |     # Start the application | ||||||
|     menu_launch_type 'kontact'; |     menu_launch_type 'kontact'; | ||||||
|     # Get rid of personal data |     # Get rid of personal data | ||||||
|     assert_and_click 'kontact_provide_data'; |     assert_and_click 'kde_cancel_button'; | ||||||
|     if (check_screen("enable_unified_mailboxes", 3)) { |     if (check_screen("enable_unified_mailboxes", 3)) { | ||||||
|         assert_and_click "enable_unified_mailboxes"; |         assert_and_click "enable_unified_mailboxes"; | ||||||
|     } |     } | ||||||
|  | |||||||