use of com.owncloud.android.test.ui.models.UploadFilesView in project android by owncloud.
the class Actions method uploadFile.
public static FileListView uploadFile(String elementName, FileListView fileListView) throws InterruptedException {
fileListView.clickOnUploadButton();
UploadFilesView uploadFilesView = fileListView.clickOnFilesElementUploadFile();
uploadFilesView.clickOnFileName(elementName);
FileListView fileListViewAfterUploadFile = uploadFilesView.clickOnUploadButton();
//TO DO. detect when the file is successfully uploaded
Thread.sleep(15000);
return fileListViewAfterUploadFile;
}
use of com.owncloud.android.test.ui.models.UploadFilesView in project android by nextcloud.
the class Actions method uploadFile.
public static FileListView uploadFile(String elementName, FileListView fileListView) throws InterruptedException {
fileListView.clickOnUploadButton();
UploadFilesView uploadFilesView = fileListView.clickOnFilesElementUploadFile();
uploadFilesView.clickOnFileName(elementName);
FileListView fileListViewAfterUploadFile = uploadFilesView.clickOnUploadButton();
// TO DO. detect when the file is successfully uploaded
Thread.sleep(15000);
return fileListViewAfterUploadFile;
}
Aggregations