Class 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 Detail

      • gotoMailArchivePage

        public void gotoMailArchivePage​(Space space)
      • gotoMailArchivePage

        public void gotoMailArchivePage​(String spaceKey,
                                        String spaceTitle)
      • goToAddMailAccount

        public void goToAddMailAccount​(Space space)
      • gotoListMailAccountsPage

        public void gotoListMailAccountsPage​(String spaceKey)
      • importMail

        public void importMail​(File mail,
                               String spaceKey,
                               String spaceTitle)
      • importMailFromServer

        public void importMailFromServer​(File mail,
                                         String spaceKey,
                                         String spaceTitle)
      • importMail

        public void importMail​(String filePath,
                               Space space)
      • importMailFromServer

        public void importMailFromServer​(String filePath,
                                         String spaceKey,
                                         String spaceTitle)
      • importMail

        public void importMail​(String filePath,
                               String spaceKey,
                               String spaceTitle)
      • getMailImportUrl

        public static String getMailImportUrl​(String spaceKey)
      • importMailAndAssertNoRunningTask

        public void importMailAndAssertNoRunningTask​(String filePath,
                                                     String spaceKey,
                                                     String spaceTitle)