Class PageElementMatchers
java.lang.Object
com.atlassian.bamboo.pageobjects.matchers.PageElementMatchers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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>
static org.hamcrest.Matcher<com.atlassian.pageobjects.elements.PageElement>
static org.hamcrest.Matcher<com.atlassian.pageobjects.elements.PageElement>
static org.hamcrest.Matcher<com.atlassian.pageobjects.elements.PageElement>
static org.hamcrest.Matcher<PlanPickerElement>
planPickerHasValue
(String selectedValue) static org.hamcrest.Matcher<Select2Element>
select2HasValue
(String selectedValue)
-
Constructor Details
-
PageElementMatchers
public PageElementMatchers()
-
-
Method Details
-
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
-
select2HasValue
-
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) -
elementHasAttribute
-