Class PageElementMatchers
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.matchers.PageElementMatchers
-
public class PageElementMatchers extends Object
-
-
Constructor Summary
Constructors Constructor Description PageElementMatchers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.hamcrest.Matcher<com.atlassian.pageobjects.elements.PageElement>
elementHasAttribute(String attributeName, org.hamcrest.Matcher<String> textMatcher)
static org.hamcrest.Matcher<com.atlassian.pageobjects.elements.PageElement>
elementHasText(String text)
static org.hamcrest.Matcher<com.atlassian.pageobjects.elements.PageElement>
elementHasText(org.hamcrest.Matcher<String> textMatcher)
static org.hamcrest.Matcher<com.atlassian.pageobjects.elements.PageElement>
elementHasValue(String text)
static org.hamcrest.Matcher<com.atlassian.pageobjects.elements.PageElement>
elementHasValue(org.hamcrest.Matcher<String> textMatcher)
static org.hamcrest.Matcher<com.atlassian.pageobjects.elements.PageElement>
elementIsEnabled()
static org.hamcrest.Matcher<com.atlassian.pageobjects.elements.PageElement>
elementIsPresent()
static org.hamcrest.Matcher<com.atlassian.pageobjects.elements.PageElement>
elementIsSelected()
static org.hamcrest.Matcher<com.atlassian.pageobjects.elements.PageElement>
elementIsVisible()
static org.hamcrest.Matcher<PlanPickerElement>
planPickerHasValue(String selectedValue)
static org.hamcrest.Matcher<Select2Element>
select2HasValue(String selectedValue)
-
-
-
Method Detail
-
elementIsPresent
public static org.hamcrest.Matcher<com.atlassian.pageobjects.elements.PageElement> elementIsPresent()
-
elementIsSelected
public static org.hamcrest.Matcher<com.atlassian.pageobjects.elements.PageElement> elementIsSelected()
-
elementIsVisible
public static org.hamcrest.Matcher<com.atlassian.pageobjects.elements.PageElement> elementIsVisible()
-
elementIsEnabled
public static org.hamcrest.Matcher<com.atlassian.pageobjects.elements.PageElement> elementIsEnabled()
-
planPickerHasValue
public static org.hamcrest.Matcher<PlanPickerElement> planPickerHasValue(String selectedValue)
-
select2HasValue
public static org.hamcrest.Matcher<Select2Element> select2HasValue(String selectedValue)
-
elementHasText
public static org.hamcrest.Matcher<com.atlassian.pageobjects.elements.PageElement> elementHasText(String text)
-
elementHasText
public static org.hamcrest.Matcher<com.atlassian.pageobjects.elements.PageElement> elementHasText(org.hamcrest.Matcher<String> textMatcher)
-
elementHasValue
public static org.hamcrest.Matcher<com.atlassian.pageobjects.elements.PageElement> elementHasValue(String text)
-
elementHasValue
public static org.hamcrest.Matcher<com.atlassian.pageobjects.elements.PageElement> elementHasValue(org.hamcrest.Matcher<String> textMatcher)
-
-