mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-19 04:21:17 +00:00
Merge pull request #309 from jimboatarm/skype-waitonsignin
skype: longer wait time for signin and search
This commit is contained in:
commit
f7e4232eaa
Binary file not shown.
@ -81,6 +81,10 @@ public class UiAutomation extends UxPerfUiAutomation {
|
|||||||
new UiObject(new UiSelector().resourceId(packageID + "sign_in_userid"));
|
new UiObject(new UiSelector().resourceId(packageID + "sign_in_userid"));
|
||||||
UiObject nextButton =
|
UiObject nextButton =
|
||||||
new UiObject(new UiSelector().resourceId(packageID + "sign_in_next_btn"));
|
new UiObject(new UiSelector().resourceId(packageID + "sign_in_next_btn"));
|
||||||
|
|
||||||
|
// Wait for login screen to appear
|
||||||
|
waitObject(useridField, 20);
|
||||||
|
|
||||||
useridField.setText(username);
|
useridField.setText(username);
|
||||||
nextButton.clickAndWaitForNewWindow();
|
nextButton.clickAndWaitForNewWindow();
|
||||||
|
|
||||||
@ -118,6 +122,8 @@ public class UiAutomation extends UxPerfUiAutomation {
|
|||||||
}
|
}
|
||||||
|
|
||||||
UiObject search = getUiObjectByText("Search", "android.widget.EditText");
|
UiObject search = getUiObjectByText("Search", "android.widget.EditText");
|
||||||
|
// Wait for search screen to appear
|
||||||
|
waitObject(search, 10);
|
||||||
search.setText(name);
|
search.setText(name);
|
||||||
|
|
||||||
UiObject peopleItem = clickUiObject(BY_TEXT, name, "android.widget.TextView");
|
UiObject peopleItem = clickUiObject(BY_TEXT, name, "android.widget.TextView");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user