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());