This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-03e7f3cf-c1b5-48c3-87a6-f90584b8a9a4 XWIKI-22502 Open

ImageIT#editImageWithDataWidgetAttribute is flickering

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-f762013d-074c-46fa-b1b0-ddd35e55a436 Simon Urli created this issue on 12/Sep/24 09:29
 
Summary: ImageIT#editImageWithDataWidgetAttribute is flickering
Issue Type: cid:jira-generated-image-avatar-03e7f3cf-c1b5-48c3-87a6-f90584b8a9a4 Bug
Affects Versions: 15.10.12
Assignee: Unassigned
Components: Development Issues only
Created: 12/Sep/24 09:29
Labels: flickering
Priority: cid:jira-generated-image-static-major-2599221f-27bc-4f81-a40c-08436d1f2a75 Major
Reporter: Simon Urli
Description:

ImageIT.editImageWithDataWidgetAttribute(TestUtils, TestReference) is sometimes failing with following error:

Element <img id="Iimage.gif" src="/xwiki/bin/download/NestedImageIT/editImageWithDataWidgetAttribute/WebHome/image.gif"> could not be scrolled into view
Build info: version: '4.24.0', revision: '748ffc9bc3'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '4.19.0-27-cloud-amd64', java.version: '17.0.12'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Command: [5aff617d-1f3f-4f68-b12d-d3e3e97daf56, clickElement {id=e4f2eec5-0681-40c3-8c1b-781fed8b3b2b}]
Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 130.0, moz:accessibilityChecks: false, moz:buildID: 20240829075237, moz:debuggerAddress: 127.0.0.1:28597, moz:firefoxOptions: {prefs: {dom.disable_beforeunload: false, remote.active-protocols: 3}}, moz:geckodriverVersion: 0.35.0, moz:headless: false, moz:platformVersion: 4.19.0-27-cloud-amd64, moz:processID: 152, moz:profile: /tmp/rust_mozprofileCeGjm8, moz:shutdownTimeout: 60000, moz:webdriverClick: true, moz:windowless: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:cdp: ws://172.21.0.2:4444/sessio..., se:cdpVersion: 85.0, se:containerName: , se:gridWebSocketUrl: ws://127.0.0.1:28597/sessio..., se:noVncPort: 7900, se:vnc: ws://172.21.0.2:4444/sessio..., se:vncEnabled: true, se:vncLocalAddress: ws://172.21.0.2:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: ignore, userAgent: Mozilla/5.0 (X11; Linux x86..., webSocketUrl: ws://172.21.0.2:4444/sessio...}
Element: [[RemoteWebDriver: firefox on linux (5aff617d-1f3f-4f68-b12d-d3e3e97daf56)] -> css selector: img]
Session ID: 5aff617d-1f3f-4f68-b12d-d3e3e97daf56

And stack trace:

org.openqa.selenium.ElementNotInteractableException: 
Element <img id="Iimage.gif" src="/xwiki/bin/download/NestedImageIT/editImageWithDataWidgetAttribute/WebHome/image.gif"> could not be scrolled into view
Build info: version: '4.24.0', revision: '748ffc9bc3'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '4.19.0-27-cloud-amd64', java.version: '17.0.12'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Command: [5aff617d-1f3f-4f68-b12d-d3e3e97daf56, clickElement {id=e4f2eec5-0681-40c3-8c1b-781fed8b3b2b}]
Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 130.0, moz:accessibilityChecks: false, moz:buildID: 20240829075237, moz:debuggerAddress: 127.0.0.1:28597, moz:firefoxOptions: {prefs: {dom.disable_beforeunload: false, remote.active-protocols: 3}}, moz:geckodriverVersion: 0.35.0, moz:headless: false, moz:platformVersion: 4.19.0-27-cloud-amd64, moz:processID: 152, moz:profile: /tmp/rust_mozprofileCeGjm8, moz:shutdownTimeout: 60000, moz:webdriverClick: true, moz:windowless: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:cdp: ws://172.21.0.2:4444/sessio..., se:cdpVersion: 85.0, se:containerName: , se:gridWebSocketUrl: ws://127.0.0.1:28597/sessio..., se:noVncPort: 7900, se:vnc: ws://172.21.0.2:4444/sessio..., se:vncEnabled: true, se:vncLocalAddress: ws://172.21.0.2:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: ignore, userAgent: Mozilla/5.0 (X11; Linux x86..., webSocketUrl: ws://172.21.0.2:4444/sessio...}
Element: [[RemoteWebDriver: firefox on linux (5aff617d-1f3f-4f68-b12d-d3e3e97daf56)] -> css selector: img]
Session ID: 5aff617d-1f3f-4f68-b12d-d3e3e97daf56
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
	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:190)
	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.RemoteWebElement.execute(RemoteWebElement.java:223)
	at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:76)
	at org.xwiki.ckeditor.test.ui.ImageIT.lambda$editImageWithDataWidgetAttribute$15(ImageIT.java:874)
	at org.xwiki.ckeditor.test.po.CKEditor.executeOnEditedContent(CKEditor.java:164)
	at org.xwiki.ckeditor.test.ui.ImageIT.editImageWithDataWidgetAttribute(ImageIT.java:874)
	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-f762013d-074c-46fa-b1b0-ddd35e55a436 Changes by Simon Urli on 12/Sep/24 09:30
 
Flickering Test: org.xwiki.ckeditor.test.ui.AllIT$NestedImageIT#editImageWithDataWidgetAttribute(TestUtils, TestReference)
Attachment: screenshot-1.png