com.atlassian.jira.pageobjects.pages.setup
Class MailSetupPage
java.lang.Object
com.atlassian.jira.pageobjects.pages.AbstractJiraPage
com.atlassian.jira.pageobjects.pages.setup.MailSetupPage
- All Implemented Interfaces:
- com.atlassian.pageobjects.Page
public class MailSetupPage
- extends AbstractJiraPage
Step 5 in the JIRA setup process - mail setup.
- Since:
- v4.4
Field Summary |
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pageContent
protected com.atlassian.pageobjects.elements.PageElement pageContent
serviceProvider
protected SingleSelect serviceProvider
name
protected com.atlassian.pageobjects.elements.PageElement name
hostname
protected com.atlassian.pageobjects.elements.PageElement hostname
protocolContainer
protected com.atlassian.pageobjects.elements.PageElement protocolContainer
protocol
protected SingleSelect protocol
port
protected com.atlassian.pageobjects.elements.PageElement port
timeout
protected com.atlassian.pageobjects.elements.PageElement timeout
username
protected com.atlassian.pageobjects.elements.PageElement username
tlsRequired
protected com.atlassian.pageobjects.elements.CheckboxElement tlsRequired
password
protected com.atlassian.pageobjects.elements.PageElement password
from
protected com.atlassian.pageobjects.elements.PageElement from
fromError
protected com.atlassian.pageobjects.elements.PageElement fromError
prefix
protected com.atlassian.pageobjects.elements.PageElement prefix
jndiLocation
protected com.atlassian.pageobjects.elements.PageElement jndiLocation
jndiLocationError
protected com.atlassian.pageobjects.elements.PageElement jndiLocationError
testButton
protected com.atlassian.pageobjects.elements.PageElement testButton
MailSetupPage
public MailSetupPage()
init
public void init()
getUrl
public String getUrl()
isAt
public com.atlassian.pageobjects.elements.query.TimedCondition isAt()
- Description copied from class:
AbstractJiraPage
- Timed condition checking if we're at given page.
- Specified by:
isAt
in class AbstractJiraPage
- Returns:
- timed condition checking, if the test is at given page
submitDisabledEmail
public DashboardPage submitDisabledEmail()
setEmailNotificationsEnabled
public MailSetupPage setEmailNotificationsEnabled(boolean enabled)
submit
public DashboardPage submit()
submitWithErrors
public MailSetupPage submitWithErrors()
getServiceProvider
public SingleSelect getServiceProvider()
setName
public MailSetupPage setName(@Nonnull
String name)
setHostName
public MailSetupPage setHostName(@Nonnull
String hostname)
getHostName
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getHostName()
setUsername
public MailSetupPage setUsername(@Nonnull
String value)
getUsername
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getUsername()
setPassword
public MailSetupPage setPassword(@Nonnull
String value)
getPassword
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getPassword()
getProtocol
public SingleSelect getProtocol()
setPort
public MailSetupPage setPort(@Nonnull
String value)
getPort
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getPort()
setTimeout
public MailSetupPage setTimeout(@Nonnull
String value)
getTimeout
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getTimeout()
setTlsRequired
public MailSetupPage setTlsRequired(boolean required)
isTlsRequired
public com.atlassian.pageobjects.elements.query.TimedCondition isTlsRequired()
isPasswordVisible
public com.atlassian.pageobjects.elements.query.TimedCondition isPasswordVisible()
setFrom
public MailSetupPage setFrom(@Nonnull
String from)
isFromErrorVisible
public com.atlassian.pageobjects.elements.query.TimedCondition isFromErrorVisible()
getFromError
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getFromError()
setEmailPrefix
public MailSetupPage setEmailPrefix(@Nonnull
String value)
getEmailPrefix
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getEmailPrefix()
setJndiLocation
public MailSetupPage setJndiLocation(@Nonnull
String location)
isServerTypeSetToJndi
public com.atlassian.pageobjects.elements.query.TimedCondition isServerTypeSetToJndi()
setServerTypeToJndi
public MailSetupPage setServerTypeToJndi()
setServerTypeToSmtp
public MailSetupPage setServerTypeToSmtp()
isServerTypeSetToSmtp
public com.atlassian.pageobjects.elements.query.TimedCondition isServerTypeSetToSmtp()
getJndiLocation
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getJndiLocation()
getJndiError
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getJndiError()
isJndiLocationVisible
public com.atlassian.pageobjects.elements.query.TimedCondition isJndiLocationVisible()
areSmtpInputsVisible
public com.atlassian.pageobjects.elements.query.Conditions.CombinableCondition areSmtpInputsVisible()
test
public MailSetupPage test()
getVerifyMessages
public com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<com.atlassian.pageobjects.elements.PageElement>> getVerifyMessages()
Copyright © 2002-2013 Atlassian. All Rights Reserved.