Skip to content

Commit 0f452a2

Browse files
committed
more cr feedback
1 parent 6a5da58 commit 0f452a2

1 file changed

Lines changed: 0 additions & 26 deletions

File tree

src/org/labkey/test/pages/core/admin/OptionalFeaturesPage.java

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,6 @@ public ShowAdminPage goToAdminConsole()
4242
return new ShowAdminPage(getDriver());
4343
}
4444

45-
public Map<String, String> getFeatureMap()
46-
{
47-
return elementCache().getListItems();
48-
}
49-
50-
public Set<String> getFeatureIds()
51-
{
52-
return getFeatureMap().keySet();
53-
}
54-
5545
public boolean getFeatureStatus(String id)
5646
{
5747
return elementCache().getCheckboxById(id).get();
@@ -75,22 +65,6 @@ protected class ElementCache extends LabKeyPage<ElementCache>.ElementCache
7565
public final WebElement listGroupElement = listGroupLoc.waitForElement(getDriver(), 1500);
7666
public final Locator listItemLabelLoc = Locator.tagWithClass("div", "list-group-item")
7767
.child(Locator.tag("Label"));
78-
private Map<String, String> _listItems;
79-
80-
public Map<String, String> getListItems()
81-
{
82-
if (_listItems == null) {
83-
_listItems = new HashMap<String, String>();
84-
for (WebElement el : listItemLabelLoc.findElements(listGroupElement)) {
85-
WebElement idEl = Locator.tagWithAttribute("type", "checkbox")
86-
.findElement(el);
87-
WebElement labelEl = Locator.tagWithClass("span", "toggle-label-text")
88-
.findElement(el);
89-
_listItems.put(idEl.getText(), labelEl.getText());
90-
}
91-
}
92-
return _listItems;
93-
}
9468

9569
public Checkbox getCheckboxById(String id)
9670
{

0 commit comments

Comments
 (0)