From 2352141761d83761ffba4e1bb911dc67dcf58226 Mon Sep 17 00:00:00 2001 From: labkey-nicka Date: Wed, 4 Mar 2026 09:35:49 -0800 Subject: [PATCH] LineageGraph: isUnidentifiedPillPresent --- .../test/components/ui/lineage/LineageGraph.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/org/labkey/test/components/ui/lineage/LineageGraph.java b/src/org/labkey/test/components/ui/lineage/LineageGraph.java index 7f25c466ed..576db342a4 100644 --- a/src/org/labkey/test/components/ui/lineage/LineageGraph.java +++ b/src/org/labkey/test/components/ui/lineage/LineageGraph.java @@ -101,8 +101,8 @@ public List 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) { @@ -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"); @@ -176,7 +181,6 @@ protected ElementCache newElementCache() return new ElementCache(); } - protected class ElementCache extends Component.ElementCache { final WebElement lineageItem(String name, WebElement tabPanel) @@ -226,7 +230,6 @@ List summaryLists() } } - public static class LineageGraphFinder extends WebDriverComponentFinder { private final Locator.XPathLocator _baseLocator = Locator.tagWithClass("div", "row")