mirror of
https://github.com/nextcloud/android.git
synced 2024-11-25 06:35:48 +03:00
some changes needed to uploads from gmail
This commit is contained in:
parent
2f1e634342
commit
7f24cb41fb
2 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue