From 0629149307c6dae0e5a19c14b56365f90013ffeb Mon Sep 17 00:00:00 2001 From: Yang Cao Date: Thu, 11 Jan 2024 06:50:54 +0800 Subject: [PATCH] LPS-205905 Correct the steps --- .../portalweb/tests/enduser/wem/journal/WebContent.testcase | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/portal-web/test/functional/com/liferay/portalweb/tests/enduser/wem/journal/WebContent.testcase b/portal-web/test/functional/com/liferay/portalweb/tests/enduser/wem/journal/WebContent.testcase index 935cdf37f7543d..4fa196f844da37 100644 --- a/portal-web/test/functional/com/liferay/portalweb/tests/enduser/wem/journal/WebContent.testcase +++ b/portal-web/test/functional/com/liferay/portalweb/tests/enduser/wem/journal/WebContent.testcase @@ -452,13 +452,13 @@ definition { } task ("Select the first tab and edit Web Content Title") { - SelectWindow.selectPopUp(value1 = "null"); + SelectWindow(value1 = "null"); WebContent.addCP(webContentTitle = "WC WebContent Title Edit"); } task ("Publish Web Content and view the error message") { - PortletEntry.publish(); + Button.clickPublish(); Alert.viewErrorMessage(errorMessage = "Another user has made changes since you started editing. Publish this article to save this version and overwrite the recent changes."); }