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
-
-
Constructor Summary
Constructors Constructor Description VcsCreationComponent(org.openqa.selenium.By locator)
VcsCreationComponent(org.openqa.selenium.By locator, com.atlassian.pageobjects.elements.timeout.TimeoutType timeoutType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canSelectExistingRepository(String repositoryName)
boolean
isExistingRepositoryRadioPresent()
boolean
isNewRepositoryRadioPresent()
void
selectExistingVcs(@NotNull String linkedRepoName)
<P extends VcsComponent>
PselectNewVcs(@NotNull Class<P> vcsRepositoryComponentClass)
void
selectNoVcs()
-
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
-
-
-
-
Method Detail
-
selectNoVcs
public void selectNoVcs()
-
selectExistingVcs
public void selectExistingVcs(@NotNull @NotNull String linkedRepoName)
-
selectNewVcs
public <P extends VcsComponent> P selectNewVcs(@NotNull @NotNull Class<P> vcsRepositoryComponentClass)
-
isNewRepositoryRadioPresent
public boolean isNewRepositoryRadioPresent()
-
isExistingRepositoryRadioPresent
public boolean isExistingRepositoryRadioPresent()
-
canSelectExistingRepository
public boolean canSelectExistingRepository(String repositoryName)
-
-