Class QuarantineSettingsAdminPage
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
-
- com.atlassian.bamboo.pageobjects.pages.admin.AbstractBambooAdminPage
-
- com.atlassian.bamboo.pageobjects.pages.admin.QuarantineSettingsAdminPage
-
- All Implemented Interfaces:
SideMenuAdminPage
,com.atlassian.pageobjects.Page
public class QuarantineSettingsAdminPage extends AbstractBambooAdminPage implements SideMenuAdminPage
Administration page for configuring the test quarantine feature.
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct, timeouts
-
-
Constructor Summary
Constructors Constructor Description QuarantineSettingsAdminPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getUrl()
com.atlassian.pageobjects.elements.PageElement
indicator()
This must return an element whose presence indicates that we're on given page.String
linkId()
ID of the link in the side menu.QuarantineSettingsAdminPage
save()
AdminPanelSection
section()
Section under which the page is located in the admin panel.QuarantineSettingsAdminPage
withExpiryDuration(int duration, @NotNull String period)
QuarantineSettingsAdminPage
withExpiryOverridable(boolean overridable)
QuarantineSettingsAdminPage
withQuarantineEnabled(boolean enabled)
-
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.admin.AbstractBambooAdminPage
getStateBanner
-
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
click, doWait, ensureIndicatorPresent, getFooter, getHeader, getTimeouts, isAdmin, isLoggedIn, isPageLoaded, sendEscapeKey, waitUntilElementIsLocated, waitUntilElementIsNotLocated, waitUntilElementIsNotVisible, waitUntilElementIsVisible
-
-
-
-
Method Detail
-
indicator
public com.atlassian.pageobjects.elements.PageElement indicator()
Description copied from class:AbstractBambooPage
This must return an element whose presence indicates that we're on given page.- Specified by:
indicator
in classAbstractBambooPage
- Returns:
- element uniquely identifying given page
-
getUrl
public String getUrl()
- Specified by:
getUrl
in interfacecom.atlassian.pageobjects.Page
-
section
public AdminPanelSection section()
Description copied from interface:SideMenuAdminPage
Section under which the page is located in the admin panel.- Specified by:
section
in interfaceSideMenuAdminPage
-
linkId
public String linkId()
Description copied from interface:SideMenuAdminPage
ID of the link in the side menu.- Specified by:
linkId
in interfaceSideMenuAdminPage
-
withQuarantineEnabled
public QuarantineSettingsAdminPage withQuarantineEnabled(boolean enabled)
-
withExpiryDuration
public QuarantineSettingsAdminPage withExpiryDuration(int duration, @NotNull @NotNull String period)
-
withExpiryOverridable
public QuarantineSettingsAdminPage withExpiryOverridable(boolean overridable)
-
save
public QuarantineSettingsAdminPage save()
-
-