This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-7d1c176f-6d91-4396-a7d7-d59ee8e002e6 XWIKI-22449 Open

RealtimeWYSIWYGEditorIT#applyInlineStylesOnTheSameParagraph is flickering

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-b5e92a3c-8af3-4086-a52c-d3d16c1d2521 Dorian Ouakli created this issue on 26/Aug/24 13:04
 
Summary: RealtimeWYSIWYGEditorIT#applyInlineStylesOnTheSameParagraph is flickering
Issue Type: cid:jira-generated-image-avatar-7d1c176f-6d91-4396-a7d7-d59ee8e002e6 Bug
Affects Versions: 15.10.11, 16.4.2, 16.6.0
Assignee: Unassigned
Components: Development Issues only, Realtime
Created: 26/Aug/24 13:04
Labels: bugfixingday flickering
Priority: cid:jira-generated-image-static-major-e750ff0d-fb70-49e7-b96e-ccf1bc7589c3 Major
Reporter: Dorian Ouakli
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.