Skip to content

Commit

Permalink
account for 0.5px
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-martyp committed Jan 21, 2025
1 parent 1bd6922 commit 911b56d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -621,11 +621,11 @@ private void verifyBloodPlotValues(ParticipantViewPage page, int dataPoints, boo

if(limitShown)
{
assertTrue("Below limit plot section is not visible.", Locator.css("rect[fill='url(#diag-pattern)']").findElement(getDriver()).getSize().getHeight() > 0);
assertTrue("Below limit plot section is not visible.", Locator.css("rect[fill='url(#diag-pattern)']").findElement(getDriver()).getSize().getHeight() > 1);
}
else
{
assertEquals("Below limit plot section is visible.", 0, Locator.css("rect[fill='url(#diag-pattern)']").findElement(getDriver()).getSize().getHeight());
assertTrue("Below limit plot section is visible.", Locator.css("rect[fill='url(#diag-pattern)']").findElement(getDriver()).getSize().getHeight() < 1);
}
}

Expand Down

0 comments on commit 911b56d

Please sign in to comment.