Skip to content

Commit

Permalink
Merge pull request #705 from dvsa/assetsAssertions
Browse files Browse the repository at this point in the history
chore: assert fix
  • Loading branch information
sr4850 authored Sep 3, 2024
2 parents 9f74384 + 8dba2a0 commit 5f37219
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 5f37219

Please sign in to comment.