mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-04 12:22:41 +01:00
Remove redundant clickUiObject method
Remove the clickUiObject method from the base class and refactor the gmail workload to use clickAndWaitForWindow methods instead. For quick popup menus prefer simple click events.
This commit is contained in:
@@ -143,12 +143,6 @@ public class BaseUiAutomation extends UiAutomatorTestCase {
|
||||
return object;
|
||||
}
|
||||
|
||||
public void clickUiObject(UiObject uiobject, long timeout) throws Exception {
|
||||
if (!uiobject.clickAndWaitForNewWindow(timeout)) {
|
||||
throw new UiObjectNotFoundException(String.format("Timeout waiting for New Window"));
|
||||
}
|
||||
}
|
||||
|
||||
public int getDisplayHeight () {
|
||||
return getUiDevice().getInstance().getDisplayHeight();
|
||||
}
|
||||
|
Reference in New Issue
Block a user