From 68cfcc87b202d91abcdf89b8bd93aad7bbc5ea17 Mon Sep 17 00:00:00 2001 From: Alessandro Alves Date: Thu, 10 Aug 2023 13:50:46 -0300 Subject: [PATCH] LPS-189491 Update FragmentsWithAdvancedConfiguration#ConfigureFragmentAdvancedSettings and ContentPagesUI#ViewCollapseStyleInFragmentConfiguration tests --- .../wem/fragment/FragmentsWithAdvancedConfiguration.testcase | 2 +- .../enduser/wem/layout/contentpage/ContentPagesUI.testcase | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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});