mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-31 07:04:17 +00:00 
			
		
		
		
	workloads/googleplaybooks: Fix ui match
The resource id of the book list cannot always be discovered, search for the only scrollable list instead.
This commit is contained in:
		| @@ -233,8 +233,7 @@ public class UiAutomation extends BaseUiAutomation implements ApplaunchInterface | ||||
|             mDevice.findObject(new UiSelector().resourceId("com.android.vending:id/search_results_list")); | ||||
|         if (!resultList.waitForExists(viewTimeout)) { | ||||
|             resultList = | ||||
|             mDevice.findObject(new UiSelector().className("android.support.v7.widget.RecyclerView") | ||||
|                                                .scrollable(true)); | ||||
|             mDevice.findObject(new UiSelector().scrollable(true)); | ||||
|             if (!resultList.waitForExists(viewTimeout)) { | ||||
|                 throw new UiObjectNotFoundException("Could not find search results list."); | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user