コード例 #1
0
  @Test
  public void waitExpectedRowsValue() {
    boolean rowValueExists = support().waitValue("Cucumber, Jbehave, Thucydides, SpecFlow", row(6));

    Assert.isTrue(
        rowValueExists,
        "waitValue method did not find \"Cucumber, Jbehave, Thucydides, SpecFlow\" in Row 6 ");
  }
コード例 #2
0
  @Test
  public void waitUnexpectedColumnsValue() {
    boolean rowValueExists =
        support().waitValue("Cucumber, Jbehave, Thucydides, SpecFlow Unexepected", column(3));

    Assert.isTrue(
        !rowValueExists,
        "waitValue method found unexpected \"Cucumber, Jbehave, Thucydides, SpecFlow Unexepected\" in Column 3 ");
  }
コード例 #3
0
  @Test
  public void waitExpectedColumnsValue() {

    boolean columnValueExists = support().waitValue("Custom", column(2));

    Assert.isTrue(
        columnValueExists,
        "waitValue method did not find \"Cucumber, Jbehave, Thucydides, SpecFlow\" in Column 3 ");
  }
コード例 #4
0
  @Test
  public void checkAreAnyRowsInTable() {
    boolean rowsPresent = support().isEmpty();

    Assert.isTrue(!rowsPresent, "isEmpty method did not found any rows in table");
  }