Search in sources :

Example 6 with PivotTableEditor

use of org.activityinfo.test.pageobject.web.reports.PivotTableEditor in project activityinfo by bedatadriven.

the class AnalysisSteps method I_share_the_report_with_users_of_the_database.

@When("^I share the report with users of the \"([^\"]*)\" database$")
public void I_share_the_report_with_users_of_the_database(String databaseName) throws Throwable {
    UiApplicationDriver ui = (UiApplicationDriver) driver;
    PivotTableEditor editor = (PivotTableEditor) ui.getCurrentPage();
    editor.reportBar().share().shareWith(aliasTable.getAlias(databaseName), true).ok();
}
Also used : UiApplicationDriver(org.activityinfo.test.driver.UiApplicationDriver) PivotTableEditor(org.activityinfo.test.pageobject.web.reports.PivotTableEditor) When(cucumber.api.java.en.When)

Aggregations

PivotTableEditor (org.activityinfo.test.pageobject.web.reports.PivotTableEditor)6 When (cucumber.api.java.en.When)4 UiApplicationDriver (org.activityinfo.test.driver.UiApplicationDriver)4 DataTable (cucumber.api.DataTable)1 DrillDownDialog (org.activityinfo.test.pageobject.web.reports.DrillDownDialog)1