From a240996a39935ac5c83e5de197bb8124e51d2985 Mon Sep 17 00:00:00 2001 From: Austin Chiang Date: Wed, 16 Jun 2021 11:26:38 +0800 Subject: [PATCH] LPS-130240 Simplify by only asserting apps don't show up in dashboard without navigating to them --- .../tests/DepotApplication.testcase | 31 +------------------ 1 file changed, 1 insertion(+), 30 deletions(-) diff --git a/modules/apps/depot/depot-test/src/testFunctional/tests/DepotApplication.testcase b/modules/apps/depot/depot-test/src/testFunctional/tests/DepotApplication.testcase index 9ee49701d06a4c..aea6598a6b4469 100644 --- a/modules/apps/depot/depot-test/src/testFunctional/tests/DepotApplication.testcase +++ b/modules/apps/depot/depot-test/src/testFunctional/tests/DepotApplication.testcase @@ -33,7 +33,7 @@ definition { @description = "This ensures that the Applications can be set in a depot." @priority = "5" @refactordone - test CanDisableAndEnableApps { + test CanDisableApps { property portal.acceptance = "true"; property testray.component.names = "Asset Lists"; @@ -55,35 +55,6 @@ definition { applicationList = "Collections,Documents and Media,Recycle Bin,Translation Processes,Web Content", depotName = "Test Depot Name", noApplication = "true"); - - DepotNavigator.openDepotSettingsGeneral(depotName = "Test Depot Name"); - - Depot.configureApplication( - applicationList = "Collections,Documents and Media,Translation Processes,Web Content", - status = "Enabled"); - - DepotNavigator.openDepotWebContentAdmin(depotName = "Test Depot Name"); - - DepotNavigator.gotoDepotPortletViaBreadcrumb( - otherDepotName = "Test Depot Name", - portlet = "Documents and Media"); - - DepotNavigator.gotoDepotPortletViaBreadcrumb( - otherDepotName = "Test Depot Name", - portlet = "Collections"); - - DepotNavigator.gotoDepotPortletViaBreadcrumb( - otherDepotName = "Test Depot Name", - portlet = "Recycle Bin"); - - // There is a bug for Translation Processes Breadcrumb: LPS-133904, will update the below steps after it fixed - - DepotNavigator.openDepotDashboard(depotName = "Test Depot Name"); - - AssertTextEquals( - key_card = "Translation Processes", - locator1 = "Card#CARD_TITLE", - value1 = "Translation Processes"); } @description = "This ensures that the disabled assets are not appeared in the item selector on a connected site when WC and DM applications are disabled."