use of org.activityinfo.test.pageobject.web.reports.DrillDownDialog in project activityinfo by bedatadriven.
the class UiApplicationDriver method drillDown.
@Override
public DataTable drillDown(String cellValue) {
Preconditions.checkState(currentPage instanceof PivotTableEditor, "No pivot results. Please pivot data first before using drill down.");
PivotTableEditor pivotTable = (PivotTableEditor) currentPage;
DrillDownDialog drillDown = pivotTable.drillDown(cellValue);
DataTable dataTable = drillDown.table().waitUntilReloadedSilently().waitUntilAtLeastOneRowIsLoaded().extractData(false);
drillDown.close();
return dataTable;
}
Aggregations