-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: portal-4.1.0
-
Fix Version/s: portal-4.1.0
-
Component/s: Liferay Faces Portal / Demos / Tests
-
Labels:None
Problem Background
At some point during the releases of Liferay Portal 7.3 CE GA1-GA6, there was a small changed introduced in the rich text editor such that a \n newline character is no longer present in the model value.
Steps to Reproduce
- Run the InputRichTextDefaultValueTester
mvn -Dintegration.browser.headless=false verify \ -P selenium-portal-showcase \ -Dit.test=\*InputRichTextDefaultValueTester\*
Expected Results
The test passes.
Actual Results
The test fails with a TimeoutException because it is expecting a newline character after the <br /> tag, as is the case with Liferay Portal CE 7.2:
<p>This is some <strong>bold old</strong> text<br />\nand this is some <em>italic</em> text.</p>
The fix is to adjust the test so that it passes with or without the newline, as it is not significant and does not represent a bug.