diff --git a/snprc_ehr/test/src/org/labkey/test/tests/snprc_ehr/SNPRC_EHRTest.java b/snprc_ehr/test/src/org/labkey/test/tests/snprc_ehr/SNPRC_EHRTest.java index 8545d1ca6..96193a1cd 100644 --- a/snprc_ehr/test/src/org/labkey/test/tests/snprc_ehr/SNPRC_EHRTest.java +++ b/snprc_ehr/test/src/org/labkey/test/tests/snprc_ehr/SNPRC_EHRTest.java @@ -621,11 +621,11 @@ private void verifyBloodPlotValues(ParticipantViewPage page, int dataPoints, boo if(limitShown) { - assertElementPresent(Locator.css("rect[fill^=url]")); + assertElementVisible(Locator.css("rect[fill='url(#diag-pattern)']")); } else { - assertElementNotPresent(Locator.css("rect[fill^=url]")); + assertElementNotVisible(Locator.css("rect[fill='url(#diag-pattern)']")); } } @@ -717,7 +717,7 @@ public void testCurrentBloodReportMarmoset() throws Exception "project", PROJECT_ID), Maps.of("Id", aliveMarmId, "date", DATE_FORMAT.format(DateUtils.addDays(new Date(), -3)), - "quantity", .5, + "quantity", 1.5, "project", PROJECT_ID), Maps.of("Id", aliveMarmId, "date", DATE_FORMAT.format(DateUtils.addDays(new Date(), -4)), @@ -737,7 +737,7 @@ public void testCurrentBloodReportMarmoset() throws Exception // Verify recent blood draw values Map> recentBloodDraws = new HashMap<>(); - List quantities = Arrays.asList("0.5", "1.0", "0.8"); + List quantities = Arrays.asList("1.5", "1.0", "0.8"); recentBloodDraws.put("quantity", quantities); List dates = Arrays.asList(