diff --git a/portal-web/test/functional/com/liferay/portalweb/tests/enduser/publications/PublicationsConfiguration.testcase b/portal-web/test/functional/com/liferay/portalweb/tests/enduser/publications/PublicationsConfiguration.testcase index 68f44f520d280a..676b19588d243b 100644 --- a/portal-web/test/functional/com/liferay/portalweb/tests/enduser/publications/PublicationsConfiguration.testcase +++ b/portal-web/test/functional/com/liferay/portalweb/tests/enduser/publications/PublicationsConfiguration.testcase @@ -91,6 +91,8 @@ definition { Click(locator1 = "Button#SUBMIT"); + WaitForElementPresent(locator1 = "Message#ERROR"); + Alert.viewErrorMessage(errorMessage = "Staging is enabled for at least one site or asset library in the current virtual instance. Publications and staging cannot be used together."); }