Skip to content
Draft
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
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -137,9 +138,13 @@ public void testIgnoreExceptionFromDataRegion()

ShowExceptionsPage showExceptionsPage = ShowExceptionsPage.beginAt(this);
ExceptionSummaryDataRegion exceptionSummary = showExceptionsPage.exceptionSummary();
Supplier<List<String>> 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());
Expand Down
Loading