This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-41b45574-70e9-4565-9a67-03b7d4b562f9 XWIKI-23056 Open

RenamePageIT#renamePageWithObjectAndAttachmentsPreserveHistory is flickering

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-2937fdde-0dc8-40de-934d-c39748fa7bb4 Simon Urli created this issue on 31/Mar/25 09:13
 
Summary: RenamePageIT#renamePageWithObjectAndAttachmentsPreserveHistory is flickering
Issue Type: cid:jira-generated-image-avatar-41b45574-70e9-4565-9a67-03b7d4b562f9 Bug
Affects Versions: 17.2.0-rc-1
Assignee: Unassigned
Attachments: image-2025-03-31-09-13-01-925.png
Components: Development Issues only
Created: 31/Mar/25 09:13
Priority: cid:jira-generated-image-static-major-d2eb1233-a7fa-4cf6-85ef-d0e779f8b860 Major
Reporter: Simon Urli
Description:

RenamePageIT#renamePageWithObjectAndAttachmentsPreserveHistory is flickering with following stacktrace:

org.openqa.selenium.NoSuchElementException: 
no such element: Unable to locate element: {"method":"xpath","selector":".//*[contains(@class, 'currentversion')]/td[1]/a"}
  (Session info: chrome=134.0.6998.165)
For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Build info: version: '4.29.0', revision: '5fc1ec94cb'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '5.10.0-33-cloud-amd64', java.version: '17.0.14'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Command: [68ac8117c4c2bfd28a2cf27b2f9fa769, findChildElement {using=xpath, value=.//*[contains(@class, 'currentversion')]/td[1]/a, id=f.5A2A9C306AA0177D1CEB4B0592A84458.d.072D99B73BCD907F950C0E449BC821D5.e.20541}]
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 134.0.6998.165, chrome: {chromedriverVersion: 134.0.6998.165 (fd886e2cb29..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:45429}, goog:loggingPrefs: {browser: ALL}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:cdp: ws://172.17.0.7:4444/sessio..., se:cdpVersion: 134.0.6998.165, se:containerName: 85d5aae1d2a6, se:gridWebSocketUrl: ws://localhost:23716/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: 68ac8117c4c2bfd28a2cf27b2f9fa769
	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.RemoteWebElement.findElement(RemoteWebElement.java:211)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:51)
	at jdk.proxy2/jdk.proxy2.$Proxy117.findElement(Unknown Source)
	at org.xwiki.test.ui.XWikiWebDriver.findElementWithoutWaiting(XWikiWebDriver.java:127)
	at org.xwiki.test.ui.po.HistoryPane.getCurrentItemInTable(HistoryPane.java:94)
	at org.xwiki.test.ui.po.HistoryPane.getCurrentVersion(HistoryPane.java:70)
	at org.xwiki.flamingo.test.docker.RenamePageIT.renamePageWithObjectAndAttachmentsPreserveHistory(RenamePageIT.java:551)
	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)

The flickering behaviour apparently started on master around the 18th of march but I haven't been able to find the cause. It seems to reproduce on all browsers, but only on tomcat but it might be a coincidence.
Screenshots on the CI shows that the result looks as expected in the test despite the failure. _thumb_43512.png

 
 

2 updates

 
cid:jira-generated-image-avatar-2937fdde-0dc8-40de-934d-c39748fa7bb4 Changes by Simon Urli on 31/Mar/25 09:13
 
Flickering Test: org.xwiki.flamingo.test.docker.AllIT$NestedRenamePageIT#renamePageWithObjectAndAttachmentsPreserveHistory(TestUtils, TestReference)
Labels: flickering