MCPcopy Create free account
hub / github.com/dgageot/simplelenium / list

Method list

src/test/java/net/codestory/simplelenium/ListTest.java:23–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21
22public 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() {

Callers

nothing calls this directly

Calls 10

goToMethod · 0.65
containMethod · 0.65
shouldMethod · 0.65
findMethod · 0.65
beDisplayedMethod · 0.65
haveSizeMethod · 0.65
haveLessItemsThanMethod · 0.65
haveMoreItemsThanMethod · 0.65
notMethod · 0.65
matchMethod · 0.65

Tested by

no test coverage detected