From da26acae9850a58b5d4e0b673a8beedd6d5224c3 Mon Sep 17 00:00:00 2001 From: labkey-tchad Date: Tue, 7 Apr 2026 09:45:49 -0700 Subject: [PATCH] Troubleshoot MothershipTest failure --- .../src/org/labkey/test/tests/mothership/MothershipTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mothership/test/src/org/labkey/test/tests/mothership/MothershipTest.java b/mothership/test/src/org/labkey/test/tests/mothership/MothershipTest.java index 26ce1e22c4c..7bd1317d08b 100644 --- a/mothership/test/src/org/labkey/test/tests/mothership/MothershipTest.java +++ b/mothership/test/src/org/labkey/test/tests/mothership/MothershipTest.java @@ -43,6 +43,7 @@ import java.util.Arrays; import java.util.Date; import java.util.List; +import java.util.function.Supplier; import java.util.regex.Matcher; import java.util.regex.Pattern; @@ -137,9 +138,13 @@ public void testIgnoreExceptionFromDataRegion() ShowExceptionsPage showExceptionsPage = ShowExceptionsPage.beginAt(this); ExceptionSummaryDataRegion exceptionSummary = showExceptionsPage.exceptionSummary(); + Supplier> getAssignedToAndIssue = () -> exceptionSummary.getRowDataAsText(exceptionSummary.getRowIndex(String.valueOf(stackTraceId)), "AssignedTo", "Issue"); + assertEquals("Exception %d should be unassigned", List.of(" ", " "), getAssignedToAndIssue.get()); + exceptionSummary.uncheckAllOnPage(); exceptionSummary.checkCheckboxByPrimaryKey(stackTraceId); exceptionSummary.ignoreSelected(); + assertEquals("Exception %d should be ignored (issue -1)", List.of(" ", "-1"), getAssignedToAndIssue.get()); StackTraceDetailsPage detailsPage = exceptionSummary.clickStackTrace(stackTraceId); assertEquals("Ignoring exception should set GitHub Issue", "-1", detailsPage.githubIssue().get());