public abstract class CrowdAcceptanceTestCaseWithEmailServer extends CrowdWebDriverTest
CrowdAcceptanceTestCase
with an email server. Subclasses must call
configureMailServer()
after restoring the database and logging in as an admin.Modifier and Type | Field and Description |
---|---|
MailServerSMTPRule |
mailServerRule |
BACKUP_RESOURCE, BATCHED_TEST_RULE, COOKIE_ABSENT, i18n, IMMUTABLE_USER_NAME, IMMUTABLE_USER_PW, JSESSIONID_COOKIE, log, logPageSourceRule, REMEMBER_ME_COOKIE, restAdminClient, retryRule, SSO_COOKIE, TEST_USER_NAME, TEST_USER_PW, testedProduct, testkitClient, testName, webDriverScreenshotRule, windowSizeRule
Constructor and Description |
---|
CrowdAcceptanceTestCaseWithEmailServer() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureMailServer() |
String |
getEmailAddress() |
void |
setUp() |
protected javax.mail.internet.MimeMessage |
waitForExactlyOneMessage() |
assertAtURIContaining, assertAtURIEndingWith, assertAtUrl, assertHasError, assertHasErrorKey, bind, bind, clearAndInvalidateSsoCookieIfPresent, clearAndInvalidateSsoCookieOrFail, deleteAllCookies, deleteCookie, getBaseUrl, getBaseUrlWithoutPort, getCookie, getCookieOrThrow, getCurrentUrl, getDriver, getSsoCookieOrFail, getTestkitClient, hasCookie, hasSsoCookie, intendToModifyData, intendToModifyLdapData, loginAsExpiredPasswordUser, loginAsNonAdmin, loginAsNonAdmin, loginAsSysAdmin, loginAsSysAdmin, loginAsSysAdminWithRememberMe, loginAsUser, loginExpectingFailure, loginImmutableUser, loginImmutableUser, loginTestUser, loginTestUser, logout, manage, navigateToAndBind, navigateToUrl, restoreBaseSetup, restoreCrowdFromXML, waitForUrl, waitUntilAsyncFinished
public MailServerSMTPRule mailServerRule
public CrowdAcceptanceTestCaseWithEmailServer()
public void setUp() throws Exception
setUp
in class CrowdWebDriverTest
Exception
protected void configureMailServer()
public String getEmailAddress()
protected javax.mail.internet.MimeMessage waitForExactlyOneMessage()
Copyright © 2020 Atlassian. All rights reserved.