use of org.activityinfo.test.pageobject.web.entry.TablePage in project activityinfo by bedatadriven.
the class DataEntrySteps method table_has_rows_in_database.
@Then("^\"([^\"]*)\" table has (\\d+) rows in \"([^\"]*)\" database$")
public void table_has_rows_in_database(String formName, int numberOfExpectedRows, String database) throws Throwable {
TablePage tablePage = driver.openFormTable(driver.getAliasTable().getAlias(database), driver.getAliasTable().getAlias(formName));
BsTable.waitUntilRowsLoaded(tablePage, numberOfExpectedRows);
}
use of org.activityinfo.test.pageobject.web.entry.TablePage in project activityinfo by bedatadriven.
the class InstanceTableUiTest method infiniteScroll.
@Test
public void infiniteScroll() throws Exception {
background();
final TablePage tablePage = driver.getApplicationPage().navigateToTable(driver.getAliasTable().getAlias(DATABASE), driver.getAliasTable().getAlias(FORM_NAME));
BsTable.waitUntilRowsLoaded(tablePage, SUBMISSIONS_COUNT);
}
Aggregations