mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-21 20:38:57 +00:00
PCMark: Fixing click co-ordinates
The workload is clicking the run button in the centre of the element but this is no longer starting the run operation. Refactoring the code to click in the topleft of the object seems to rectify the issue.
This commit is contained in:
parent
a9f3ee9752
commit
0166180f30
Binary file not shown.
@ -123,7 +123,7 @@ public class UiAutomation extends BaseUiAutomation {
|
||||
.childSelector(new UiSelector().text("RUN")
|
||||
.className("android.view.View")));
|
||||
if (run.exists()) {
|
||||
run.click();
|
||||
run.clickTopLeft();
|
||||
} else {
|
||||
UiObject runtext =
|
||||
mDevice.findObject(new UiSelector().text("RUN"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user