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 5bf3690197..8690eb5084 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 @@ -10,7 +10,7 @@ public class GmailEmailListView { final AndroidDriver driver; - @AndroidFindBy(uiAutomator = "new UiSelector().description(\"me about UploadFile, at 9:53 AM, conversation read\")") + @AndroidFindBy(uiAutomator = "new UiSelector().description(\"me about UploadFile, on May 11, conversation read\")") private AndroidElement email; public GmailEmailListView (AndroidDriver driver) { diff --git a/automationTest/src/test/java/com/owncloud/android/test/ui/testSuites/UploadTestSuite.java b/automationTest/src/test/java/com/owncloud/android/test/ui/testSuites/UploadTestSuite.java index cbea9785ae..5e1354c975 100644 --- a/automationTest/src/test/java/com/owncloud/android/test/ui/testSuites/UploadTestSuite.java +++ b/automationTest/src/test/java/com/owncloud/android/test/ui/testSuites/UploadTestSuite.java @@ -72,6 +72,7 @@ public class UploadTestSuite{ FileListView fileListView = Actions.login(Config.URL, Config.user,Config.password, Config.isTrusted, driver); driver.startActivity("com.google.android.gm", ".ConversationListActivityGmail"); GmailEmailListView gmailEmailListView = new GmailEmailListView(driver); + Thread.sleep(3000); GmailEmailView gmailEmailView = gmailEmailListView.clickOnEmail(); ImageView imageView = gmailEmailView.clickOnfileButton(); imageView.clickOnOptionsButton();