Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-3575

TimeoutException thrown by InputRichTextDefaultValueTester on Liferay Portal 7.3 due to missing newline

    Details

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            neil.griffin Neil Griffin
            Reporter:
            neil.griffin Neil Griffin
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                portal-4.1.0