-// @Test
-// public void testMakeNewFolder() throws InterruptedException{
-// //Create the folder with the given folderName
-// makeNewFolder(userName, folderName);
-//
-// System.out.println(action.getText(By.id("past@ebs.gr."+folderName)));
-//
-// //the test is the folder exists
-// Assert.assertEquals(folderName, action.getText(By.id("past@ebs.gr."+folderName)));
-//
-// }
+ private void refesh(String aUserName, String aFolderName){
+ //Click a folder
+ selectFolderBelowHome(aUserName, aFolderName);
+
+ //Click top edit menu
+ action.click(By.id("topMenu.file"));
+
+ //Click move to trash option
+ action.click(By.id("topMenu.file.refresh"));
+
+ }
+
+ //TODO: upload file to a folder
+ private void upload(){
+
+ }
+
+ /**
+ * Method that cuts a folder below home folder
+ * using the top Edit menu
+ * @param aUserName
+ */
+ private void cutFolder(String aUserName, String aFolderName){
+
+ //Click a folder
+ selectFolderBelowHome(aUserName, aFolderName);
+
+ //Click the top file menu
+ action.click(By.id("topMenu.edit"));
+
+ //Click the New Folder option from the file menu
+ action.click(By.id("topMenu.edit.cut"));
+
+ }
+
+ /**
+ * Method that copies a folder name
+ * @param aUserName
+ * @param aFolderName
+ */
+ private void copy(String aUserName, String aFolderName){
+ //Click a folder
+ selectFolderBelowHome(aUserName, aFolderName);
+
+ //Click the top file menu
+ action.click(By.id("topMenu.edit"));
+
+ //Click the New Folder option from the file menu
+ action.click(By.id("topMenu.edit.copy"));
+
+ }
+
+ /**
+ * Method that pastes a folder of a user using @param aUserName
+ * to a @param aFolderDestination
+ */
+ private void paste(String aUserName, String aFolderDestination){
+ //Click on the folder destination which is below home folder
+ selectFolderBelowHome(aUserName, aFolderDestination);
+
+ //Click the top file menu
+ action.click(By.id("topMenu.edit"));
+
+ //Click the New Folder option from the file menu
+ action.click(By.id("topMenu.edit.paste"));
+ }