Skip to content

Commit

Permalink
LPS-160553 Loosen assertions since order doesn't matter
Browse files Browse the repository at this point in the history
  • Loading branch information
xbrianlee authored and brianchandotcom committed Aug 13, 2022
1 parent 90cbf43 commit 7e3e6cd
Showing 1 changed file with 12 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ definition {

AssertTextEquals(
locator1 = "SearchResults#RESULTS_PORTLET_PAGINATION_CONFIG",
value1 = "2");
value1 = "1");

IFrame.closeFrame();

Expand All @@ -877,22 +877,25 @@ definition {

AssertTextEquals(
locator1 = "SearchResults#RESULTS_PORTLET_PAGINATION_CONFIG",
value1 = "2");
value1 = "1");

IFrame.closeFrame();

SearchResultPortlet.viewSearchResults(
searchAssetTitle = "WC Title 1",
searchAssetTitle = "WC Title",
searchAssetType = "Web Content Article");

SearchResultPortlet.viewSearchResultNotPresent(
searchAssetTitle = "WC Title 3",
Click(locator1 = "Pagination#NEXT_LINK");

SearchResultPortlet.viewSearchResults(
searchAssetTitle = "WC Title",
searchAssetType = "Web Content Article");

SearchResultPortlet.paginateAndViewSearchResults(
searchAssetTitle = "WC Title 3",
searchAssetType = "Web Content Article",
searchTerm = "WC Title");
Click(locator1 = "Pagination#NEXT_LINK");

SearchResultPortlet.viewSearchResults(
searchAssetTitle = "WC Title",
searchAssetType = "Web Content Article");
}

@description = "This is a use case for LPS-112599."
Expand Down

0 comments on commit 7e3e6cd

Please sign in to comment.