public class MailSetupPage extends AbstractJiraPage
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.pageobjects.elements.PageElement |
from |
protected com.atlassian.pageobjects.elements.PageElement |
fromError |
protected com.atlassian.pageobjects.elements.PageElement |
hostname |
protected com.atlassian.pageobjects.elements.PageElement |
jndiLocation |
protected com.atlassian.pageobjects.elements.PageElement |
jndiLocationError |
protected com.atlassian.pageobjects.elements.PageElement |
name |
protected com.atlassian.pageobjects.elements.PageElement |
pageContent |
protected com.atlassian.pageobjects.elements.PageElement |
password |
protected com.atlassian.pageobjects.elements.PageElement |
port |
protected com.atlassian.pageobjects.elements.PageElement |
prefix |
protected SingleSelect |
protocol |
protected com.atlassian.pageobjects.elements.PageElement |
protocolContainer |
protected SingleSelect |
serviceProvider |
protected com.atlassian.pageobjects.elements.PageElement |
testButton |
protected com.atlassian.pageobjects.elements.PageElement |
timeout |
protected com.atlassian.pageobjects.elements.CheckboxElement |
tlsRequired |
protected com.atlassian.pageobjects.elements.PageElement |
username |
body, driver, elementFinder, metaElement, pageBinder, timeouts
Constructor and Description |
---|
MailSetupPage() |
Modifier and Type | Method and Description |
---|---|
com.atlassian.pageobjects.elements.query.Conditions.CombinableCondition |
areSmtpInputsVisible() |
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getEmailPrefix() |
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getFromError() |
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getHostName() |
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getJndiError() |
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getJndiLocation() |
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getPassword() |
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getPort() |
SingleSelect |
getProtocol() |
SingleSelect |
getServiceProvider() |
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getTimeout() |
String |
getUrl() |
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getUsername() |
com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<com.atlassian.pageobjects.elements.PageElement>> |
getVerifyMessages() |
void |
init() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isAt()
Timed condition checking if we're at given page.
|
com.atlassian.pageobjects.elements.query.TimedCondition |
isFromErrorVisible() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isJndiLocationVisible() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isPasswordVisible() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isServerTypeSetToJndi() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isServerTypeSetToSmtp() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isTlsRequired() |
MailSetupPage |
setEmailNotificationsEnabled(boolean enabled) |
MailSetupPage |
setEmailPrefix(String value) |
MailSetupPage |
setFrom(String from) |
MailSetupPage |
setHostName(String hostname) |
MailSetupPage |
setJndiLocation(String location) |
MailSetupPage |
setName(String name) |
MailSetupPage |
setPassword(String value) |
MailSetupPage |
setPort(String value) |
MailSetupPage |
setServerTypeToJndi() |
MailSetupPage |
setServerTypeToSmtp() |
MailSetupPage |
setTimeout(String value) |
MailSetupPage |
setTlsRequired(boolean required) |
MailSetupPage |
setUsername(String value) |
DashboardPage |
submit()
Deprecated.
since 6.4. Use
submitWithoutBinding() instead as you cannot be sure if you'll end up on
JIRA's dashboard or an Onboarding flow after setup finishes. |
DashboardPage |
submitDisabledEmail()
Deprecated.
since 6.4. Use
submitDisabledEmailWithoutBinding() instead as you cannot be sure if you'll end up on
JIRA's dashboard or an Onboarding flow after setup finishes. |
void |
submitDisabledEmailWithoutBinding() |
MailSetupPage |
submitWithErrors() |
void |
submitWithoutBinding() |
MailSetupPage |
test()
Clicks on "Test Connection" button and waits for the page to reload.
|
void |
testWithoutBinding()
Clicks on "Test Connection" button without waiting for the page to reload.
|
back, doWait, execKeyboardShortcut, getHeader, getPageTitle, getXsrfToken, isAdmin, isLoggedIn
protected com.atlassian.pageobjects.elements.PageElement pageContent
protected SingleSelect serviceProvider
protected com.atlassian.pageobjects.elements.PageElement name
protected com.atlassian.pageobjects.elements.PageElement hostname
protected com.atlassian.pageobjects.elements.PageElement protocolContainer
protected SingleSelect protocol
protected com.atlassian.pageobjects.elements.PageElement port
protected com.atlassian.pageobjects.elements.PageElement timeout
protected com.atlassian.pageobjects.elements.PageElement username
protected com.atlassian.pageobjects.elements.CheckboxElement tlsRequired
protected com.atlassian.pageobjects.elements.PageElement password
protected com.atlassian.pageobjects.elements.PageElement from
protected com.atlassian.pageobjects.elements.PageElement fromError
protected com.atlassian.pageobjects.elements.PageElement prefix
protected com.atlassian.pageobjects.elements.PageElement jndiLocation
protected com.atlassian.pageobjects.elements.PageElement jndiLocationError
protected com.atlassian.pageobjects.elements.PageElement testButton
public void init()
public String getUrl()
public com.atlassian.pageobjects.elements.query.TimedCondition isAt()
AbstractJiraPage
isAt
in class AbstractJiraPage
public DashboardPage submitDisabledEmail()
submitDisabledEmailWithoutBinding()
instead as you cannot be sure if you'll end up on
JIRA's dashboard or an Onboarding flow after setup finishes.public void submitDisabledEmailWithoutBinding()
public MailSetupPage setEmailNotificationsEnabled(boolean enabled)
public DashboardPage submit()
submitWithoutBinding()
instead as you cannot be sure if you'll end up on
JIRA's dashboard or an Onboarding flow after setup finishes.public void submitWithoutBinding()
public MailSetupPage submitWithErrors()
public SingleSelect getServiceProvider()
public MailSetupPage setName(@Nonnull String name)
public MailSetupPage setHostName(@Nonnull String hostname)
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getHostName()
public MailSetupPage setUsername(@Nonnull String value)
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getUsername()
public MailSetupPage setPassword(@Nonnull String value)
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getPassword()
public SingleSelect getProtocol()
public MailSetupPage setPort(@Nonnull String value)
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getPort()
public MailSetupPage setTimeout(@Nonnull String value)
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getTimeout()
public MailSetupPage setTlsRequired(boolean required)
public com.atlassian.pageobjects.elements.query.TimedCondition isTlsRequired()
public com.atlassian.pageobjects.elements.query.TimedCondition isPasswordVisible()
public MailSetupPage setFrom(@Nonnull String from)
public com.atlassian.pageobjects.elements.query.TimedCondition isFromErrorVisible()
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getFromError()
public MailSetupPage setEmailPrefix(@Nonnull String value)
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getEmailPrefix()
public MailSetupPage setJndiLocation(@Nonnull String location)
public com.atlassian.pageobjects.elements.query.TimedCondition isServerTypeSetToJndi()
public MailSetupPage setServerTypeToJndi()
public MailSetupPage setServerTypeToSmtp()
public com.atlassian.pageobjects.elements.query.TimedCondition isServerTypeSetToSmtp()
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getJndiLocation()
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getJndiError()
public com.atlassian.pageobjects.elements.query.TimedCondition isJndiLocationVisible()
public com.atlassian.pageobjects.elements.query.Conditions.CombinableCondition areSmtpInputsVisible()
public MailSetupPage test()
public void testWithoutBinding()
public com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<com.atlassian.pageobjects.elements.PageElement>> getVerifyMessages()
Copyright © 2002-2019 Atlassian. All Rights Reserved.