This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-c31ce539-ec0b-4e24-9d07-97a6206e0b1d XWIKI-23907 Open

RequiredRightsIT#testWithXClassWithCustomDisplay is flickering

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-8aec9ad3-5b2b-4ef4-b0b0-18c5016ac35f Michael Hamann created this issue on 19/Jan/26 10:03
 
Summary: RequiredRightsIT#testWithXClassWithCustomDisplay is flickering
Issue Type: cid:jira-generated-image-avatar-c31ce539-ec0b-4e24-9d07-97a6206e0b1d Bug
Affects Versions: 17.10.0
Assignee: Unassigned
Attachments: image-2026-01-19-09-42-18-492.png
Components: Development Issues only
Created: 19/Jan/26 10:03
Labels: flickering
Priority: cid:jira-generated-image-static-major-bcf50412-1d50-451c-879f-e6ef16d54870 Major
Reporter: Michael Hamann
Description:

Error details:

Expected condition failed: waiting for org.xwiki.test.ui.XWikiWebDriver$$Lambda/0x00007f88b4c88000@4ac08c31 (tried for 10 second(s) with 500 milliseconds interval)
Build info: version: '4.39.0', revision: '126f156aee'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.1.0-37-cloud-amd64', java.version: '21.0.9'
Driver info: org.xwiki.test.ui.XWikiWebDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 143.0.7499.169, chrome: {chromedriverVersion: 143.0.7499.169 (164b20aab62..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:40251}, goog:loggingPrefs: {browser: ALL}, goog:processID: 174, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:cdp: ws://172.17.0.12:4444/sessi..., se:cdpVersion: 143.0.7499.169, se:containerName: 2360b4963c7b, se:deleteSessionOnUi: true, se:downloadsEnabled: true, se:gridWebSocketUrl: ws://localhost:9010/session..., se:noVncPort: 7900, se:vnc: ws://172.17.0.12:4444/sessi..., se:vncEnabled: true, se:vncLocalAddress: ws://172.17.0.12:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: ignore, webSocketUrl: ws://172.17.0.12:4444/sessi..., webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: 792119d0166ce140ce7520b222ea4727

Stack trace:

org.openqa.selenium.TimeoutException: 
Expected condition failed: waiting for org.xwiki.test.ui.XWikiWebDriver$$Lambda/0x00007f88b4c88000@4ac08c31 (tried for 10 second(s) with 500 milliseconds interval)
Build info: version: '4.39.0', revision: '126f156aee'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.1.0-37-cloud-amd64', java.version: '21.0.9'
Driver info: org.xwiki.test.ui.XWikiWebDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 143.0.7499.169, chrome: {chromedriverVersion: 143.0.7499.169 (164b20aab62..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:40251}, goog:loggingPrefs: {browser: ALL}, goog:processID: 174, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:cdp: ws://172.17.0.12:4444/sessi..., se:cdpVersion: 143.0.7499.169, se:containerName: 2360b4963c7b, se:deleteSessionOnUi: true, se:downloadsEnabled: true, se:gridWebSocketUrl: ws://localhost:9010/session..., se:noVncPort: 7900, se:vnc: ws://172.17.0.12:4444/sessi..., se:vncEnabled: true, se:vncLocalAddress: ws://172.17.0.12:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: ignore, webSocketUrl: ws://172.17.0.12:4444/sessi..., webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: 792119d0166ce140ce7520b222ea4727
	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:229)
	at org.xwiki.test.ui.XWikiWebDriver.waitUntilElementsAreVisible(XWikiWebDriver.java:331)
	at org.xwiki.test.ui.XWikiWebDriver.waitUntilElementIsVisible(XWikiWebDriver.java:286)
	at org.xwiki.test.ui.XWikiWebDriver.waitUntilElementIsVisible(XWikiWebDriver.java:274)
	at org.xwiki.test.ui.po.BaseElement.waitForNotificationMessage(BaseElement.java:110)
	at org.xwiki.test.ui.po.BaseElement.waitForNotificationSuccessMessage(BaseElement.java:88)
	at org.xwiki.test.ui.po.editor.ClassEditPage.addProperty(ClassEditPage.java:82)
	at org.xwiki.security.test.ui.RequiredRightsIT.testWithXClassWithCustomDisplay(RequiredRightsIT.java:396)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.Optional.ifPresent(Optional.java:178)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
	at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

Screenshot:

_thumb_44510.png

What seems to happen is that for some reason the event listener on the add property button isn't triggered. This shouldn't happen as we're waiting for the page to be loaded. While I've reproduced this locally once, I wasn't able to reproduce this with many (100?) repeated test executions inside JUnit so maybe it is an issue with the first load?

 
 

1 update

 
cid:jira-generated-image-avatar-8aec9ad3-5b2b-4ef4-b0b0-18c5016ac35f Changes by Michael Hamann on 19/Jan/26 10:04
 
Flickering Test: org.xwiki.security.test.ui.AllIT$NestedRequiredRightsIT#testWithXClassWithCustomDisplay(WikiReference, TestLocalReference, TestUtils)