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
-
Method Summary
Modifier and TypeMethodDescriptiongetUrl()
com.atlassian.pageobjects.elements.PageElement
This must return an element whose presence indicates that we're on given page.linkId()
ID of the link in the side menu.save()
section()
Section under which the page is located in the admin panel.withExpiryDuration
(int duration, @NotNull String period) withExpiryOverridable
(boolean overridable) withQuarantineEnabled
(boolean enabled) Methods inherited from class com.atlassian.bamboo.pageobjects.pages.admin.AbstractBambooAdminPage
doWait, getStateBanner
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
click, ensureIndicatorPresent, getFooter, getHeader, getTimeouts, isAdmin, isLoggedIn, isPageLoaded, sendEscapeKey, waitUntilElementIsLocated, waitUntilElementIsNotLocated, waitUntilElementIsNotVisible, waitUntilElementIsVisible
-
Constructor Details
-
QuarantineSettingsAdminPage
public QuarantineSettingsAdminPage()
-
-
Method Details
-
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
- Specified by:
getUrl
in interfacecom.atlassian.pageobjects.Page
-
section
Description copied from interface:SideMenuAdminPage
Section under which the page is located in the admin panel.- Specified by:
section
in interfaceSideMenuAdminPage
-
linkId
Description copied from interface:SideMenuAdminPage
ID of the link in the side menu.- Specified by:
linkId
in interfaceSideMenuAdminPage
-
withQuarantineEnabled
-
withExpiryDuration
public QuarantineSettingsAdminPage withExpiryDuration(int duration, @NotNull @NotNull String period) -
withExpiryOverridable
-
save
-