Search in sources :

Example 1 with DrillDownDialog

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;
}
Also used : DataTable(cucumber.api.DataTable) DrillDownDialog(org.activityinfo.test.pageobject.web.reports.DrillDownDialog) PivotTableEditor(org.activityinfo.test.pageobject.web.reports.PivotTableEditor)

Aggregations

DataTable (cucumber.api.DataTable)1 DrillDownDialog (org.activityinfo.test.pageobject.web.reports.DrillDownDialog)1 PivotTableEditor (org.activityinfo.test.pageobject.web.reports.PivotTableEditor)1