Skip to content

Commit

Permalink
COMMERCE-13221 Fix AppManagement functional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
smottal authored and brianchandotcom committed Feb 1, 2024
1 parent 138b844 commit 7c720a2
Showing 1 changed file with 10 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,30 +55,27 @@ definition {
panel = "Control Panel",
portlet = "App Manager");

ManagementBar.setFilterAndOrder(orderBy = "Title");

AssertTextEquals.assertPartialText(
key_rowEntry = "Independent",
locator1 = "ContentRow#ENTRY_CONTENT_PARTIAL_TEXt",
value1 = "Independent");

ManagementBar.sortAssets(sortDirection = "Ascending");

ManagementBar.setFilterAndOrder(filterBy = "Communication");
ManagementBar.setFilterAndOrder(filterBy = "Installed");

AssertTextEquals.assertPartialText(
key_rowEntry = "Wiki",
locator1 = "ContentRow#ENTRY_CONTENT_PARTIAL_TEXt",
value1 = "Wiki");
AssertTextEquals(
locator1 = "Message#EMPTY_INFO",
value1 = "No apps were found.");

ManagementBar.sortAssets(sortDirection = "Descending");
Click.clickNoMouseOver(locator1 = "ManagementBar#ORDER_ICON_GENERIC");

ManagementBar.setFilterAndOrder(filterBy = "Utility");
ManagementBar.setFilterAndOrder(filterBy = "Active");

AssertTextEquals.assertPartialText(
key_rowEntry = "Account",
key_rowEntry = "Independent",
locator1 = "ContentRow#ENTRY_CONTENT_PARTIAL_TEXt",
value1 = "Account");
value1 = "Independent");

Click.clickNoMouseOver(locator1 = "ManagementBar#ORDER_ICON_GENERIC");
}

@priority = 3
Expand Down

0 comments on commit 7c720a2

Please sign in to comment.