Class AgGridMatchers
- java.lang.Object
-
- com.github.loyada.jdollarx.singlebrowser.custommatchers.AgGridMatchers
-
public class AgGridMatchers extends Object
Hamcrest matchers for an AgGrid
-
-
Constructor Summary
Constructors Constructor Description AgGridMatchers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.hamcrest.TypeSafeMatcher<AgGridHighLevelOperations>
containsRow(Map<String,String> row)
Verify that the grid, as defined, contains a row (which can be partial)static org.hamcrest.Matcher<AgGrid>
isPresent()
Verify that the grid, as defined, is present in the browser.
-
-
-
Method Detail
-
isPresent
public static org.hamcrest.Matcher<AgGrid> isPresent()
Verify that the grid, as defined, is present in the browser. In case of an assertion error, gives a useful error message. The assertion can be strict, in which case only the defined rows are expected to exist.- Returns:
- a Hamcrest matcher
-
containsRow
public static org.hamcrest.TypeSafeMatcher<AgGridHighLevelOperations> containsRow(Map<String,String> row)
Verify that the grid, as defined, contains a row (which can be partial)- Returns:
- a Hamcrest matcher
-
-