Skip to content

Commit

Permalink
LPS-188870 Add assertHeadersTitle macro
Browse files Browse the repository at this point in the history
  • Loading branch information
joelrocha68 authored and brianchandotcom committed Jul 4, 2023
1 parent 32dc945 commit 3303071
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ definition {
}
}

macro assertHeadersTitle {
for (var headerTitle : list ${listHeaderTitle}) {
AssertElementPresent(
key_title = ${headerTitle},
locator1 = "Header#H4_TITLE");
}
}

macro downloadFileViaCurl {
var currentURL = selenium.getCurrentUrl();
var testDependenciesDir = PropsUtil.get("output.dir.name");
Expand Down

0 comments on commit 3303071

Please sign in to comment.