This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-0b8afe8a-c86f-4cf5-b454-0e09dcc2b250 XWIKI-22619 Open

RealtimeWYSIWYGEditorIT#dragAndDropFilesAtTheSameTime is flickering

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-fa2acc7e-102a-4a2b-a7ec-1e03097d6768 Simon Urli created this issue on 30/Oct/24 11:42
 
Summary: RealtimeWYSIWYGEditorIT#dragAndDropFilesAtTheSameTime is flickering
Issue Type: cid:jira-generated-image-avatar-0b8afe8a-c86f-4cf5-b454-0e09dcc2b250 Bug
Affects Versions: 16.4.4
Assignee: Unassigned
Components: Development Issues only
Created: 30/Oct/24 11:42
Labels: flickering
Priority: cid:jira-generated-image-static-major-f721d006-6bc8-462b-ad3c-0249cfd0fc46 Major
Reporter: Simon Urli
Description:

RealtimeWYSIWYGEditorIT.dragAndDropFilesAtTheSameTime is flickering.

The failure is always a timeout:

org.openqa.selenium.TimeoutException: Expected condition failed: waiting for org.xwiki.test.ui.XWikiWebDriver$$Lambda$1568/0x0000000100c6e040@17c5f202 (tried for 10 second(s) with 500 milliseconds interval)	
Build info: version: '4.21.0', revision: '79ed462ef4'	
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '4.19.0-27-cloud-amd64', java.version: '11.0.24'	
Driver info: org.xwiki.test.ui.XWikiWebDriver	
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 130.0.6723.69, chrome: {chromedriverVersion: 130.0.6723.69 (3ec172b971b9..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:45857}, goog:loggingPrefs: {browser: ALL}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:bidiEnabled: false, se:cdp: ws://172.29.0.4:4444/sessio..., se:cdpVersion: 130.0.6723.69, se:containerName: , se:noVncPort: 7900, se:vnc: ws://172.29.0.4:4444/sessio..., se:vncEnabled: true, se:vncLocalAddress: ws://172.29.0.4:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: ignore, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}	
Session ID: f1140b16f4b75a93f14f1bfbed2bbf5b	

I've seen two different stack traces, more often:

org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:84)	
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:228)	
	at org.xwiki.test.ui.XWikiWebDriver.waitUntilCondition(XWikiWebDriver.java:228)	
	at org.xwiki.ckeditor.test.po.RichTextAreaElement.waitUntilContentContains(RichTextAreaElement.java:234)	
	at org.xwiki.ckeditor.test.po.RichTextAreaElement.waitUntilWidgetSelected(RichTextAreaElement.java:622)	
	at org.xwiki.ckeditor.test.po.RichTextAreaElement.dropFile(RichTextAreaElement.java:499)	
	at org.xwiki.realtime.wysiwyg.test.ui.RealtimeWYSIWYGEditorIT.dragAndDropFilesAtTheSameTime(RealtimeWYSIWYGEditorIT.java:1769)	
	at java.lang.reflect.Method.invoke(Unknown Source)	
	at java.util.ArrayList.forEach(Unknown Source)	
	at java.util.ArrayList.forEach(Unknown Source)	
	at java.util.ArrayList.forEach(Unknown Source)

but sometimes it's:

org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:84)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:228)
	at org.xwiki.test.ui.XWikiWebDriver.waitUntilCondition(XWikiWebDriver.java:228)
	at org.xwiki.ckeditor.test.po.RichTextAreaElement.waitForUploadsToFinish(RichTextAreaElement.java:602)
	at org.xwiki.realtime.wysiwyg.test.ui.RealtimeWYSIWYGEditorIT.dragAndDropFilesAtTheSameTime(RealtimeWYSIWYGEditorIT.java:1809)
	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)
 
 

2 updates

 
cid:jira-generated-image-avatar-fa2acc7e-102a-4a2b-a7ec-1e03097d6768 Changes by Simon Urli on 30/Oct/24 11:43
 
Flickering Test: org.xwiki.realtime.wysiwyg.test.ui.AllIT$NestedRealtimeWYSIWYGEditorIT#dragAndDropFilesAtTheSameTime(TestUtils, TestReference, MultiUserTestUtils)
Attachment: screenshot-1.png