Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions src/org/labkey/test/components/ui/lineage/LineageGraph.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ public List<NodeDetailGroup> getDetailGroups()
}

/**
* clicks the overview Link of the currently-selected node/element and optionally waits for a page load
* @param wait Whether or not to expect a page load, false if not
* clicks the overview Link of the currently selected node/element and optionally waits for a page load
* @param wait Whether to expect a page load, false if not
*/
public void clickOverviewLink(boolean wait)
{
Expand Down Expand Up @@ -133,6 +133,11 @@ public void clickRunStepDetails(String runStep)
getWrapper().shortWait().until(ExpectedConditions.stalenessOf(stepEl));
}

public boolean isUnidentifiedPillPresent()
{
return Locator.byClass("unidentified-sequence-pill").areAnyVisible(elementCache().nodeDetailLinksContainer);
}

public WebElement clickDetailsTab()
{
return elementCache().nodeDetailsTabs().selectTab("Details");
Expand Down Expand Up @@ -176,7 +181,6 @@ protected ElementCache newElementCache()
return new ElementCache();
}


protected class ElementCache extends Component<?>.ElementCache
{
final WebElement lineageItem(String name, WebElement tabPanel)
Expand Down Expand Up @@ -226,7 +230,6 @@ List<NodeDetailGroup> summaryLists()
}
}


public static class LineageGraphFinder extends WebDriverComponentFinder<LineageGraph, LineageGraphFinder>
{
private final Locator.XPathLocator _baseLocator = Locator.tagWithClass("div", "row")
Expand Down