@@ -3053,6 +3053,61 @@ definition {
3053
3053
SearchResultPortlet.viewSearchResultsSpecificOrder(resultsList = "Apple,Banana,Cantaloupe");
3054
3054
}
3055
3055
3056
+ test ViewSortWidgetConfigurationFeatureFlagUI {
3057
+ property custom.properties = "feature.flag.LPS-134052=false";
3058
+
3059
+ for (var title : list "Banana,Apple,Cherry") {
3060
+ JSONWebcontent.addWebContent(
3061
+ content = "Content ",
3062
+ groupName = "Guest",
3063
+ title = "${title}");
3064
+ }
3065
+
3066
+ SearchPortlets.searchEmbedded(searchTerm = "Content");
3067
+
3068
+ SearchPortlets.addWidgets(searchPortletList = "Sort");
3069
+
3070
+ Refresh();
3071
+
3072
+ Portlet.gotoPortletOptions(
3073
+ portletName = "Sort",
3074
+ portletOption = "Configuration");
3075
+
3076
+ SelectFrame(locator1 = "IFrame#CONFIGURATION");
3077
+
3078
+ AssertElementPresent(locator1 = "Button#ADD_ROW");
3079
+
3080
+ AssertElementNotPresent(locator1 = "(//label[contains(.,'Order')])[1]");
3081
+
3082
+ IFrame.closeFrame();
3083
+
3084
+ SearchPortlets.chooseSortOption(sortOption = "Title");
3085
+
3086
+ SearchResultPortlet.viewSearchResultsSpecificOrder(resultsList = "Apple,Banana,Cherry");
3087
+
3088
+ Portlet.shutdownServer();
3089
+
3090
+ AntCommand(
3091
+ locator1 = "build-test.xml",
3092
+ value1 = "portal-ext-properties-update -Dupdate.properties.original=feature.flag.LPS-134052=false -Dupdate.properties=feature.flag.LPS-134052=true");
3093
+
3094
+ Portlet.startServer(deleteLiferayHome = "false");
3095
+
3096
+ SearchPortlets.searchEmbedded(searchTerm = "Content");
3097
+
3098
+ SearchResultPortlet.viewSearchResultsSpecificOrder(resultsList = "Apple,Banana,Cherry");
3099
+
3100
+ Portlet.gotoPortletOptions(
3101
+ portletName = "Sort",
3102
+ portletOption = "Configuration");
3103
+
3104
+ SelectFrame(locator1 = "IFrame#CONFIGURATION");
3105
+
3106
+ AssertElementPresent(locator1 = "(//label[contains(.,'Order')])[1]");
3107
+
3108
+ AssertElementNotPresent(locator1 = "Button#ADD_ROW");
3109
+ }
3110
+
3056
3111
@priority = "4"
3057
3112
test ViewStagedAndLiveContentInSearchResults {
3058
3113
JSONGroup.addGroup(groupName = "Site Name");
0 commit comments