1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-03-14 14:48:53 +00: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:
James Hartley 2016-05-10 15:49:51 +01:00
parent 35a0953858
commit 60c94a79bd
2 changed files with 2 additions and 2 deletions

View File

@ -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();