mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-21 20:38:57 +00:00
Removing surplus spaces that were added with previous commit
This commit is contained in:
parent
821cbaff4e
commit
cfa1827445
Binary file not shown.
@ -76,9 +76,9 @@ public class UiAutomation extends UxPerfUiAutomation {
|
|||||||
|
|
||||||
private void sendToGmail(String recipient) throws Exception {
|
private void sendToGmail(String recipient) throws Exception {
|
||||||
String gID = gmail.packageID;
|
String gID = gmail.packageID;
|
||||||
|
|
||||||
shareUsingApp("Gmail", "gmail");
|
shareUsingApp("Gmail", "gmail");
|
||||||
|
|
||||||
gmail.clearFirstRunDialogues();
|
gmail.clearFirstRunDialogues();
|
||||||
|
|
||||||
UiObject composeView =
|
UiObject composeView =
|
||||||
@ -88,7 +88,7 @@ public class UiAutomation extends UxPerfUiAutomation {
|
|||||||
// to the launching app, so we need to share the photo once more and
|
// to the launching app, so we need to share the photo once more and
|
||||||
// wait for Gmail to sync.
|
// wait for Gmail to sync.
|
||||||
shareUsingApp("Gmail", "gmail_retry");
|
shareUsingApp("Gmail", "gmail_retry");
|
||||||
|
|
||||||
gmail.clearFirstRunDialogues();
|
gmail.clearFirstRunDialogues();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -100,7 +100,7 @@ public class UiAutomation extends UxPerfUiAutomation {
|
|||||||
|
|
||||||
private void logIntoSkype(String loginName, String loginPass) throws Exception {
|
private void logIntoSkype(String loginName, String loginPass) throws Exception {
|
||||||
shareUsingApp("Skype", "skype_setup");
|
shareUsingApp("Skype", "skype_setup");
|
||||||
|
|
||||||
skype.handleLoginScreen(loginName, loginPass);
|
skype.handleLoginScreen(loginName, loginPass);
|
||||||
|
|
||||||
sleep(10); // Pause while the app settles before returning
|
sleep(10); // Pause while the app settles before returning
|
||||||
@ -108,7 +108,7 @@ public class UiAutomation extends UxPerfUiAutomation {
|
|||||||
|
|
||||||
private void sendToSkype(String contactName) throws Exception {
|
private void sendToSkype(String contactName) throws Exception {
|
||||||
shareUsingApp("Skype", "skype");
|
shareUsingApp("Skype", "skype");
|
||||||
|
|
||||||
skype.searchForContact(contactName);
|
skype.searchForContact(contactName);
|
||||||
skype.dismissUpdatePopupIfPresent();
|
skype.dismissUpdatePopupIfPresent();
|
||||||
|
|
||||||
@ -118,7 +118,7 @@ public class UiAutomation extends UxPerfUiAutomation {
|
|||||||
private void shareUsingApp(String appName, String tagName) throws Exception {
|
private void shareUsingApp(String appName, String tagName) throws Exception {
|
||||||
String testTag = "share";
|
String testTag = "share";
|
||||||
ActionLogger logger = new ActionLogger(testTag + "_" + tagName, parameters);
|
ActionLogger logger = new ActionLogger(testTag + "_" + tagName, parameters);
|
||||||
|
|
||||||
clickUiObject(BY_DESC, "Share", "android.widget.ImageView");
|
clickUiObject(BY_DESC, "Share", "android.widget.ImageView");
|
||||||
UiScrollable applicationGrid =
|
UiScrollable applicationGrid =
|
||||||
new UiScrollable(new UiSelector().resourceId(googlephotos.packageID + "application_grid"));
|
new UiScrollable(new UiSelector().resourceId(googlephotos.packageID + "application_grid"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user