We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f1d99a commit c389b07Copy full SHA for c389b07
ehr/test/src/org/labkey/test/tests/ehr/AbstractGenericEHRTest.java
@@ -344,7 +344,7 @@ protected List<String> skipLinksForCrawling()
344
private String validLink(WebElement anchor)
345
{
346
String href = anchor.getDomAttribute("href");
347
- if (href != null && !href.startsWith("#"))
+ if (href != null && !href.startsWith("#") && !href.equalsIgnoreCase("undefined"))
348
349
String decodedHref = EscapeUtil.decodeUriPath(href);
350
if (skipLinksForValidation().stream().anyMatch(s -> decodedHref.toLowerCase().contains(s.toLowerCase())))
0 commit comments