Skip to content

Commit

Permalink
feat: asset fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sr4850 committed Sep 2, 2024
1 parent 94baa7c commit d61cea8
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ public void theFeeShouldBePaidAndNoLongerVisibleInTheFeesTable() {
world.internalNavigation.getAdminEditFee(getFeeNumber());
waitForTextToBePresent("Payments and adjustments");
refreshPageWithJavascript();
assertEquals(getText("//*[contains(@class,'govuk-tag govuk-tag--green')]", SelectorType.XPATH), "PAID");
String actualText = getText("//*[contains(@class,'govuk-tag govuk-tag--green')]", SelectorType.XPATH);
assertTrue(actualText.equalsIgnoreCase("Paid"));
}

@And("i search for transactional fees")
Expand Down Expand Up @@ -96,6 +97,6 @@ public void theTableShouldContainTheCorrectValues() {
assertNotNull(getText("//li[9]/dd", SelectorType.XPATH));
assertNotNull(getText("//li[10]/dd", SelectorType.XPATH));
String actualText = getText("//li[11]/dd", SelectorType.XPATH);
assertTrue(actualText.equalsIgnoreCase("COMPLETE"));
assertTrue(actualText.equalsIgnoreCase("Complete"));
}
}

0 comments on commit d61cea8

Please sign in to comment.