diff --git a/portal-web/test/functional/com/liferay/portalweb/tests/enduser/wem/fragment/FragmentsWithAdvancedConfiguration.testcase b/portal-web/test/functional/com/liferay/portalweb/tests/enduser/wem/fragment/FragmentsWithAdvancedConfiguration.testcase index 291a475e7481ff..63981d7a8d1098 100644 --- a/portal-web/test/functional/com/liferay/portalweb/tests/enduser/wem/fragment/FragmentsWithAdvancedConfiguration.testcase +++ b/portal-web/test/functional/com/liferay/portalweb/tests/enduser/wem/fragment/FragmentsWithAdvancedConfiguration.testcase @@ -118,7 +118,7 @@ definition { task ("View the Advanced Config Field grouped in collapsable Advancd Config Fieldset") { Panel.collapsePanel(panel = "Advanced Config Fieldset"); - AssertElementNotPresent( + AssertNotVisible( key_fieldLabel = "Advanced Config Field", locator1 = "Select#GENERIC_SELECT_FIELD"); } diff --git a/portal-web/test/functional/com/liferay/portalweb/tests/enduser/wem/layout/contentpage/ContentPagesUI.testcase b/portal-web/test/functional/com/liferay/portalweb/tests/enduser/wem/layout/contentpage/ContentPagesUI.testcase index c4ddb498e91f15..ddd924f4211f20 100644 --- a/portal-web/test/functional/com/liferay/portalweb/tests/enduser/wem/layout/contentpage/ContentPagesUI.testcase +++ b/portal-web/test/functional/com/liferay/portalweb/tests/enduser/wem/layout/contentpage/ContentPagesUI.testcase @@ -693,7 +693,7 @@ definition { Panel.collapsePanel(panel = "Frame"); - AssertElementNotPresent(locator1 = "//div[contains(@class,'fieldset')]"); + AssertNotVisible(locator1 = "//div[contains(@class,'fieldset')]"); Panel.expandPanel(panel = "Dropdown Options"); @@ -707,7 +707,7 @@ definition { Panel.collapsePanel(panel = ${key_panel}); } - AssertElementNotPresent(locator1 = "//div[contains(@class,'fieldset')]"); + AssertNotVisible(locator1 = "//div[contains(@class,'fieldset')]"); for (var key_panel : list "Spacing,Text,Background,Borders,Effects") { Panel.expandPanel(panel = ${key_panel});