Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-22449

RealtimeWYSIWYGEditorIT#applyInlineStylesOnTheSameParagraph is flickering

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      The test is flickering with the following stack:

      org.opentest4j.AssertionFailedError: Unexpected content: <p><strong>bolder</strong> <em>italic</em> <ins>underline end</ins></p> ==> expected: <true> but was: <false>
      	at org.xwiki.realtime.wysiwyg.test.ui.RealtimeWYSIWYGEditorIT.applyInlineStylesOnTheSameParagraph(RealtimeWYSIWYGEditorIT.java:586)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
      	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
      	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) 

       

      There is a race condition that makes the test pass sometimes.
      The issue here seems to be that the editing style (in our case, underlined) is reset to normal on remote changes.

      Attachments

        Activity

          People

            douakli Dorian Ouakli
            douakli Dorian Ouakli
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: