Class VcsCreationComponent
java.lang.Object
com.atlassian.pageobjects.elements.WebDriverElement
com.atlassian.bamboo.pageobjects.components.vcs.VcsCreationComponent
- All Implemented Interfaces:
com.atlassian.pageobjects.elements.PageElement
,com.atlassian.pageobjects.elements.PageElementFinder
,com.atlassian.pageobjects.elements.search.PageElementSearch
public class VcsCreationComponent
extends com.atlassian.pageobjects.elements.WebDriverElement
Vcs creation section in used in plan creation page and specs creation wizard
-
Field Summary
Fields inherited from class com.atlassian.pageobjects.elements.WebDriverElement
defaultTimeout, driver, locatable, pageBinder, timeouts, TO_LOCATABLE
-
Constructor Summary
ConstructorDescriptionVcsCreationComponent
(org.openqa.selenium.By locator) VcsCreationComponent
(org.openqa.selenium.By locator, com.atlassian.pageobjects.elements.timeout.TimeoutType timeoutType) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canSelectExistingRepository
(String repositoryName) boolean
boolean
void
selectExistingVcs
(@NotNull String linkedRepoName) <P extends VcsComponent>
PselectNewVcs
(@NotNull Class<P> vcsRepositoryComponentClass) void
Methods inherited from class com.atlassian.pageobjects.elements.WebDriverElement
asWebElement, bind, clear, click, createTimout, find, find, find, find, findAll, findAll, findAll, findAll, getAttribute, getCssClasses, getDefaultTimeout, getId, getLocation, getSize, getTagName, getText, getValue, hasAttribute, hasClass, isEnabled, isPresent, isSelected, isVisible, javascript, search, select, timed, timeout, toLocatable, toString, type, waitForWebElement, waitForWebElement, withTimeout
-
Constructor Details
-
VcsCreationComponent
public VcsCreationComponent(org.openqa.selenium.By locator) -
VcsCreationComponent
public VcsCreationComponent(org.openqa.selenium.By locator, com.atlassian.pageobjects.elements.timeout.TimeoutType timeoutType)
-
-
Method Details
-
selectNoVcs
public void selectNoVcs() -
selectExistingVcs
-
selectNewVcs
public <P extends VcsComponent> P selectNewVcs(@NotNull @NotNull Class<P> vcsRepositoryComponentClass) -
isNewRepositoryRadioPresent
public boolean isNewRepositoryRadioPresent() -
isExistingRepositoryRadioPresent
public boolean isExistingRepositoryRadioPresent() -
canSelectExistingRepository
-