Package com.atlassian.confluence.it.mail
Class MailArchivingHelper
- java.lang.Object
-
- com.atlassian.confluence.it.mail.MailArchivingHelper
-
public class MailArchivingHelper extends Object
Provides helper functions for testing the Mail Archiving plugin. Takes a 1-2s to initialise, so don't do it too lightly.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteExistingMail(Space space)
static String
getMailImportUrl(String spaceKey)
void
goToAddMailAccount(Space space)
void
gotoListMailAccountsPage(String spaceKey)
void
gotoMailArchivePage(Space space)
void
gotoMailArchivePage(String spaceKey, String spaceTitle)
void
importMail(File mail, String spaceKey, String spaceTitle)
void
importMail(String filePath, Space space)
void
importMail(String filePath, String spaceKey, String spaceTitle)
void
importMailAndAssertNoRunningTask(String filePath, String spaceKey, String spaceTitle)
void
importMailFromServer(File mail, String spaceKey, String spaceTitle)
void
importMailFromServer(String filePath, String spaceKey, String spaceTitle)
static MailArchivingHelper
init(ConfluenceRpc rpc)
-
-
-
Method Detail
-
init
public static MailArchivingHelper init(ConfluenceRpc rpc)
-
gotoMailArchivePage
public void gotoMailArchivePage(Space space)
-
goToAddMailAccount
public void goToAddMailAccount(Space space)
-
gotoListMailAccountsPage
public void gotoListMailAccountsPage(String spaceKey)
-
importMailFromServer
public void importMailFromServer(File mail, String spaceKey, String spaceTitle)
-
importMailFromServer
public void importMailFromServer(String filePath, String spaceKey, String spaceTitle)
-
-