Log the UI tree on error
The dump method doesn't actually print anything, just returns the tree as a string.
This commit is contained in:
		
							parent
							
								
									f9e80a90f7
								
							
						
					
					
						commit
						19bc2268d4
					
				| @ -51,7 +51,7 @@ class UITestCase(unittest.TestCase): | ||||
|         try: | ||||
|             yield | ||||
|         except: | ||||
|             uitree.get_root().dump() | ||||
|             logging.debug(uitree.get_root().dump()) | ||||
|             raise | ||||
|         finally: | ||||
|             process.terminate() | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Daniel Narvaez
						Daniel Narvaez