Skip to content

Commit

Permalink
chore: assert fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sr4850 committed Sep 3, 2024
1 parent bf0614c commit 8dba2a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public void deleteDocument() {
public void checkLicenceStatus(String arg0) {
waitForElementToBeClickable("menu-admin-dashboard/admin-your-account/details", SelectorType.ID);
waitForTextToBePresent("Licence status");
assertTrue(getElementValueByText("//strong[contains(@class,'govuk-tag')]", SelectorType.XPATH).equalsIgnoreCase("surrendered"));
assertEquals(arg0.toUpperCase(), getElementValueByText("//strong[contains(@class,'govuk-tag')]", SelectorType.XPATH));
}

public void closeCase() {
Expand Down

0 comments on commit 8dba2a0

Please sign in to comment.