This issue has been created
There are 3 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-f1f46928-f8ee-4706-8d7c-2a6688f6b330 XWIKI-23305 Open

RealtimeWikiEditorIT.toggleRealtimeWithSelf is flickering

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-709c508c-aa0d-4f37-9ce6-8fe2e10e1902 Thomas Mortagne created this issue on 17/Jun/25 10:29
 
Summary: RealtimeWikiEditorIT.toggleRealtimeWithSelf is flickering
Issue Type: cid:jira-generated-image-avatar-f1f46928-f8ee-4706-8d7c-2a6688f6b330 Bug
Affects Versions: 17.4.1
Assignee: Unassigned
Attachments: screenshot.png
Components: Development Issues only
Created: 17/Jun/25 10:29
Priority: cid:jira-generated-image-static-major-31034586-915a-422a-bd12-744c9d80ed22 Major
Reporter: Thomas Mortagne
Description:

Error Message

Expected condition failed: waiting for org.xwiki.test.ui.XWikiWebDriver$$Lambda$1672/0x00007f9b28bb6090@724750ea (tried for 10 second(s) with 500 milliseconds interval)

Stacktrace

org.openqa.selenium.TimeoutException: Expected condition failed: waiting for org.xwiki.test.ui.XWikiWebDriver$$Lambda$1672/0x00007f9b28bb6090@724750ea (tried for 10 second(s) with 500 milliseconds interval)
	at 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.realtime.test.po.RealtimeEditToolbar.waitForCoeditor(RealtimeEditToolbar.java:161)
	at org.xwiki.realtime.wiki.test.ui.RealtimeWikiEditorIT.toggleRealtimeWithSelf(RealtimeWikiEditorIT.java:90)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	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)
Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"css selector","selector":".realtime-edit-toolbar .realtime-user[data-id='52d30d05351c91ebb3d8a9745d35a7aa']"}
  (Session info: chrome=137.0.7151.68)
For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Build info: version: '4.32.0', revision: 'd17c8aa950'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.1.0-33-cloud-amd64', java.version: '17.0.15'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Command: [6ce785815678d3d0ba0497f0bbf8c8a3, findElement {value=.realtime-edit-toolbar .realtime-user[data-id='52d30d05351c91ebb3d8a9745d35a7aa'], using=css selector}]
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 137.0.7151.68, chrome: {chromedriverVersion: 137.0.7151.68 (2989ffee9373..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:46141}, goog:loggingPrefs: {browser: ALL}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:cdp: ws://172.17.0.7:4444/sessio..., se:cdpVersion: 137.0.7151.68, se:containerName: a35c09f72f4e, se:gridWebSocketUrl: ws://localhost:24451/sessio..., se:noVncPort: 7900, se:vnc: ws://172.17.0.7:4444/sessio..., se:vncEnabled: true, se:vncLocalAddress: ws://172.17.0.7:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: ignore, webSocketUrl: ws://172.17.0.7:4444/sessio..., webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: 6ce785815678d3d0ba0497f0bbf8c8a3
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
	at org.openqa.selenium.remote.ErrorCodec.decode(ErrorCodec.java:167)
	at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:138)
	at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:50)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:215)
	at org.openqa.selenium.remote.TracedCommandExecutor.execute(TracedCommandExecutor.java:53)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:545)
	at org.openqa.selenium.remote.ElementLocation$ElementFinder$2.findElement(ElementLocation.java:165)
	at org.openqa.selenium.remote.ElementLocation.findElement(ElementLocation.java:59)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:368)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:362)
	at org.xwiki.test.ui.XWikiWebDriver.findElement(XWikiWebDriver.java:714)
	at org.openqa.selenium.support.ui.ExpectedConditions$6.apply(ExpectedConditions.java:171)
	at org.openqa.selenium.support.ui.ExpectedConditions$6.apply(ExpectedConditions.java:168)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:203)
	... 7 more
 
 

3 updates

 
cid:jira-generated-image-avatar-709c508c-aa0d-4f37-9ce6-8fe2e10e1902 Changes by Thomas Mortagne on 17/Jun/25 10:29
 
Flickering Test: org.xwiki.realtime.wiki.test.ui.AllIT$NestedRealtimeWikiEditorIT#toggleRealtimeWithSelf(TestReference, TestUtils)
Description: !screenshot.png|thumbnail!

Error Message

{noformat}
Expected condition failed: waiting for org.xwiki.test.ui.XWikiWebDriver$$Lambda$1672/0x00007f9b28bb6090@724750ea (tried for 10 second(s) with 500 milliseconds interval)
{noformat}

Stacktrace

{noformat}
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for org.xwiki.test.ui.XWikiWebDriver$$Lambda$1672/0x00007f9b28bb6090@724750ea (tried for 10 second(s) with 500 milliseconds interval)
at 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.realtime.test.po.RealtimeEditToolbar.waitForCoeditor(RealtimeEditToolbar.java:161)
at org.xwiki.realtime.wiki.test.ui.RealtimeWikiEditorIT.toggleRealtimeWithSelf(RealtimeWikiEditorIT.java:90)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
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)
Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"css selector","selector":".realtime-edit-toolbar .realtime-user[data-id='52d30d05351c91ebb3d8a9745d35a7aa']"}
  (Session info: chrome=137.0.7151.68)
For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Build info: version: '4.32.0', revision: 'd17c8aa950'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.1.0-33-cloud-amd64', java.version: '17.0.15'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Command: [6ce785815678d3d0ba0497f0bbf8c8a3, findElement {value=.realtime-edit-toolbar .realtime-user[data-id='52d30d05351c91ebb3d8a9745d35a7aa'], using=css selector}]
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 137.0.7151.68, chrome: {chromedriverVersion: 137.0.7151.68 (2989ffee9373..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:46141}, goog:loggingPrefs: {browser: ALL}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:cdp: ws://172.17.0.7:4444/sessio..., se:cdpVersion: 137.0.7151.68, se:containerName: a35c09f72f4e, se:gridWebSocketUrl: ws://localhost:24451/sessio..., se:noVncPort: 7900, se:vnc: ws://172.17.0.7:4444/sessio..., se:vncEnabled: true, se:vncLocalAddress: ws://172.17.0.7:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: ignore, webSocketUrl: ws://172.17.0.7:4444/sessio..., webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: 6ce785815678d3d0ba0497f0bbf8c8a3
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at org.openqa.selenium.remote.ErrorCodec.decode(ErrorCodec.java:167)
at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:138)
at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:50)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:215)
at org.openqa.selenium.remote.TracedCommandExecutor.execute(TracedCommandExecutor.java:53)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:545)
at org.openqa.selenium.remote.ElementLocation$ElementFinder$2.findElement(ElementLocation.java:165)
at org.openqa.selenium.remote.ElementLocation.findElement(ElementLocation.java:59)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:368)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:362)
at org.xwiki.test.ui.XWikiWebDriver.findElement(XWikiWebDriver.java:714)
at org.openqa.selenium.support.ui.ExpectedConditions$6.apply(ExpectedConditions.java:171)
at org.openqa.selenium.support.ui.ExpectedConditions$6.apply(ExpectedConditions.java:168)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:203)
... 7 more
{noformat}
Labels: flickering