From: purigarcia Date: Thu, 14 May 2015 08:15:34 +0000 (+0200) Subject: change the name of a variable X-Git-Tag: oc-android-1.7.2~1^2~32^2~18 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/b4b160d21909e2c9051d8f78036f625bdec75f0b change the name of a variable --- diff --git a/automationTest/src/test/java/com/owncloud/android/test/ui/models/GmailEmailListView.java b/automationTest/src/test/java/com/owncloud/android/test/ui/models/GmailEmailListView.java index 43084fff..f3d0f810 100644 --- a/automationTest/src/test/java/com/owncloud/android/test/ui/models/GmailEmailListView.java +++ b/automationTest/src/test/java/com/owncloud/android/test/ui/models/GmailEmailListView.java @@ -13,9 +13,9 @@ public class GmailEmailListView { final AndroidDriver driver; @AndroidFindBy(uiAutomator = "new UiSelector().description(\"me about UploadFile, on May 11, conversation read\")") - private AndroidElement email; + private AndroidElement emailAmericanFormatDate; @AndroidFindBy(uiAutomator = "new UiSelector().description(\"me about UploadFile, on 11 May, conversation read\")") - private AndroidElement email2; + private AndroidElement emailEuropeanFormatDate; public GmailEmailListView (AndroidDriver driver) { @@ -25,9 +25,9 @@ public class GmailEmailListView { public GmailEmailView clickOnEmail (){ try{ - email.click(); + emailAmericanFormatDate.click(); }catch (NoSuchElementException e) { - email2.click(); + emailEuropeanFormatDate.click(); } GmailEmailView gmailEmailView = new GmailEmailView(driver); return gmailEmailView;