Skip to content

Commit

Permalink
Regression coverage for Issue 48517
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-chrisj committed Dec 9, 2023
1 parent aaec202 commit 243513f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/org/labkey/test/components/ui/grids/QueryGrid.java
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,12 @@ public WebElement showChart(String chartName)
return elementCache().svgChart();
}

public WebElement showRReport(String reportName)
{
elementCache().chartsMenu.clickSubMenu(false, reportName);
return elementCache().rReport();
}

public void closeChart()
{
elementCache().closeButton.click();
Expand Down Expand Up @@ -743,6 +749,11 @@ public WebElement svgChart()
return Locator.byClass("svg-chart").waitForElement(elementCache().chartPanel, WAIT_FOR_JAVASCRIPT);
}

public WebElement rReport()
{
return Locator.byClass("r-report").waitForElement(elementCache().chartPanel, WAIT_FOR_JAVASCRIPT);
}

final WebElement closeButton = Locator.tagContainingText("button", "Close").refindWhenNeeded(chartPanel);

}
Expand Down

0 comments on commit 243513f

Please sign in to comment.