Skip to content

Commit

Permalink
LPS-136196 Replace locator of staging checkbox label with checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
JoyceWang08211 authored and brianchandotcom committed Jul 28, 2021
1 parent 4d4002f commit dc93177
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ definition {
for (var contentName : list "${checkContentNameList}") {
var key_contentName = "${contentName}";

Check.checkToggleSwitch(locator1 = "PagesConfiguration#CONTENT_CHOOSE_CONTENT_CHECKBOX_LABEL");
Check.checkToggleSwitch(locator1 = "PagesConfiguration#CONTENT_CHOOSE_CONTENT_CONTENT_CHECKBOX");
}
}

Expand Down Expand Up @@ -130,7 +130,7 @@ definition {
for (var contentName : list "${uncheckContentNameList}") {
Uncheck.uncheckToggleSwitch(
key_contentName = "${contentName}",
locator1 = "PagesConfiguration#CONTENT_CHOOSE_CONTENT_CHECKBOX_LABEL");
locator1 = "PagesConfiguration#CONTENT_CHOOSE_CONTENT_CONTENT_CHECKBOX");
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1413,7 +1413,7 @@ definition {
for (var contentName : list "${uncheckContentNameList}") {
AssertNotChecked(
key_contentName = "${contentName}",
locator1 = "PagesConfiguration#CONTENT_CHOOSE_CONTENT_CHECKBOX_LABEL");
locator1 = "PagesConfiguration#CONTENT_CHOOSE_CONTENT_CONTENT_CHECKBOX");
}
}
}
Expand Down Expand Up @@ -1478,7 +1478,7 @@ definition {
for (var contentName : list "${uncheckContentNameList}") {
AssertNotChecked(
key_contentName = "${contentName}",
locator1 = "PagesConfiguration#CONTENT_CHOOSE_CONTENT_CHECKBOX_LABEL");
locator1 = "PagesConfiguration#CONTENT_CHOOSE_CONTENT_CONTENT_CHECKBOX");
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@
<td>//label[contains(.,'${key_contentName}')]//following-sibling::span | //label[contains(.,'${key_contentName}')]//following-sibling::span/../input</td>
<td></td>
</tr>
<tr>
<td>CONTENT_CHOOSE_CONTENT_CHECKBOX_LABEL</td>
<td>//label[contains(.,'${key_contentName}')]/input</td>
<td></td>
</tr>
<tr>
<td>PAGES_ALL_PUBLIC_PAGES_CHECKBOX</td>
<td>xpath=(//div[contains(.,'Public Pages')]//span[contains(@class,'icon-check')])[1]</td>
Expand Down

0 comments on commit dc93177

Please sign in to comment.