mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-01 10:52:33 +01:00
More robust way of checking image is attached in Gmail
Waiting for the attached image icon to disappear is more reliable than waiting for the new view to appear on some 2-1 devices.
This commit is contained in:
Binary file not shown.
@@ -166,8 +166,8 @@ public class UiAutomation extends UxPerfUiAutomation {
|
||||
.className("android.widget.GridView")
|
||||
.childSelector(new UiSelector()
|
||||
.index(i).className("android.widget.FrameLayout")));
|
||||
|
||||
clickUiObject(imageFileButton, timeout);
|
||||
imageFileButton.click();
|
||||
imageFileButton.waitUntilGone(timeout);
|
||||
|
||||
result.end();
|
||||
|
||||
|
Reference in New Issue
Block a user