1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-09 14:52:34 +01:00

Merge pull request #309 from jimboatarm/skype-waitonsignin

skype: longer wait time for signin and search
This commit is contained in:
setrofim
2016-12-09 13:44:40 +00:00
committed by GitHub
2 changed files with 6 additions and 0 deletions

View File

@@ -81,6 +81,10 @@ public class UiAutomation extends UxPerfUiAutomation {
new UiObject(new UiSelector().resourceId(packageID + "sign_in_userid"));
UiObject nextButton =
new UiObject(new UiSelector().resourceId(packageID + "sign_in_next_btn"));
// Wait for login screen to appear
waitObject(useridField, 20);
useridField.setText(username);
nextButton.clickAndWaitForNewWindow();
@@ -118,6 +122,8 @@ public class UiAutomation extends UxPerfUiAutomation {
}
UiObject search = getUiObjectByText("Search", "android.widget.EditText");
// Wait for search screen to appear
waitObject(search, 10);
search.setText(name);
UiObject peopleItem = clickUiObject(BY_TEXT, name, "android.widget.TextView");