()
| 21 | |
| 22 | public class ListTest extends AbstractTest { |
| 23 | @Test |
| 24 | public void list() { |
| 25 | goTo("/list"); |
| 26 | |
| 27 | find(".name").should().contain("Bob Morane", "Joe l'Indien"); |
| 28 | find(".name").should().beDisplayed(); |
| 29 | find(".name").should().haveSize(2); |
| 30 | find(".name").should().haveLessItemsThan(3); |
| 31 | find(".name").should().haveMoreItemsThan(1); |
| 32 | find(".name").should().not().contain("Casper", "Zorro"); |
| 33 | find(".name").should().match(Pattern.compile("([a-zA-Z ]+)")); |
| 34 | } |
| 35 | |
| 36 | @Test |
| 37 | public void list_with_verification_chaining() { |
nothing calls this directly
no test coverage detected