1718192021222324252627
@Test public void tr_functionality() { setupExpecations("tr"); FluentWebElements fe = fwd.tr() .tr(By.xpath("@foo = 'bar'")) .tr(By.cssSelector("baz")) .trs(); assertThat(fe, notNullValue());
3132333435363738394041
@Test public void trs_functionality() { setupExpecations2("tr"); FluentWebElements fe = fwd.tr() .trs(By.name("qux")); assertThat(fe, notNullValue()); verifications2("tr");
1920212223242526272829
@Test public void button_functionality() { setupExpecations("button"); FluentWebElements fe = fwd.button() .button(By.xpath("@foo = 'bar'")) .button(By.cssSelector("baz")) .buttons(); // very artificial, sure. assertThat(fe, notNullValue());
3536373839404142434445
@Test public void buttons_functionality() { setupExpecations2("button"); FluentWebElements fe = fwd.button().buttons(By.name("qux")); assertThat(fe, notNullValue()); verifications2("button");
@Test public void blockquote_functionality() { setupExpecations("blockquote"); FluentWebElements fe = fwd.blockquote() .blockquote(By.xpath("@foo = 'bar'")) .blockquote(By.cssSelector("baz")) .blockquotes(); assertThat(fe, notNullValue());
@Test public void blockquotes_functionality() { setupExpecations2("blockquote"); FluentWebElements fe = fwd.blockquote() .blockquotes(By.name("qux")); assertThat(fe, notNullValue()); verifications2("blockquote");
@Test public void ol_functionality() { setupExpecations("ol"); FluentWebElements fe = fwd.ol() .ol(By.xpath("@foo = 'bar'")) .ol(By.cssSelector("baz")) .ols(); assertThat(fe, notNullValue());
@Test public void ols_functionality() { setupExpecations2("ol"); FluentWebElements fe = fwd.ol() .ols(By.name("qux")); assertThat(fe, notNullValue()); verifications2("ol");
@Test public void b_functionality() { setupExpecations("b"); FluentWebElements fe = fwd.b() .b(By.xpath("@foo = 'bar'")) .b(By.cssSelector("baz")) .bs(); assertThat(fe, notNullValue());
@Test public void bs_functionality() { setupExpecations2("b"); FluentWebElements fe = fwd.b() .bs(By.name("qux")); assertThat(fe, notNullValue()); verifications2("b");