This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-2a8d2a6f-3f23-48c3-903f-0e558a263719 XWIKI-22178 Open

RealtimeWYSIWYGEditorIT#editWithSelf is flickering

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-7986f2e2-379d-4057-8ec2-08044969d7ce Simon Urli created this issue on 22/May/24 09:07
 
Summary: RealtimeWYSIWYGEditorIT#editWithSelf is flickering
Issue Type: cid:jira-generated-image-avatar-2a8d2a6f-3f23-48c3-903f-0e558a263719 Bug
Affects Versions: 16.3.1
Assignee: Unassigned
Attachments: hsqldb_embedded-default-default-jetty_standalone-default-firefox-org.xwiki.realtime.wysiwyg.test.ui.AllIT$NestedRealtimeWYSIWYGEditorIT-editWithSelf.flv, image-2024-05-22-09-06-38-057.png
Components: Development Issues only
Created: 22/May/24 09:07
Labels: flickering
Priority: cid:jira-generated-image-static-major-7137eb61-997a-4826-a787-340bdf0f20c1 Major
Reporter: Simon Urli
Description:

The test is failing with a TimeoutException:

org.openqa.selenium.TimeoutException: Expected condition failed: waiting for org.xwiki.test.ui.XWikiWebDriver$$Lambda$1584/0x00007f8d48bba758@194568a3 (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.wysiwyg.test.po.RealtimeRichTextAreaElement$CoeditorPosition.<init>(RealtimeRichTextAreaElement.java:61)
	at org.xwiki.realtime.wysiwyg.test.po.RealtimeRichTextAreaElement.getCoeditorPosition(RealtimeRichTextAreaElement.java:149)
	at org.xwiki.realtime.wysiwyg.test.ui.RealtimeWYSIWYGEditorIT.editWithSelf(RealtimeWYSIWYGEditorIT.java:273)
	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)
Caused by: org.openqa.selenium.NoSuchElementException: Unable to locate element: #rt\-user\-48a70cb4bb9bc73fc0857916ae3c5e0b
For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Build info: version: '4.20.0', revision: '866c76ca80'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '4.19.0-25-cloud-amd64', java.version: '17.0.11'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Command: [088a720f-6ed5-44e3-9cd2-9947a6c3352e, findElement {value=rt-user-48a70cb4bb9bc73fc0857916ae3c5e0b, using=id}]
Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 126.0, moz:accessibilityChecks: false, moz:buildID: 20240509170740, moz:debuggerAddress: 127.0.0.1:28225, moz:firefoxOptions: {prefs: {dom.disable_beforeunload: false}}, moz:geckodriverVersion: 0.34.0, moz:headless: false, moz:platformVersion: 4.19.0-25-cloud-amd64, moz:processID: 163, moz:profile: /tmp/rust_mozprofile9X96rt, moz:shutdownTimeout: 60000, moz:webdriverClick: true, moz:windowless: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:bidiEnabled: false, se:cdp: ws://172.17.0.5:4444/sessio..., se:cdpVersion: 85.0, se:noVncPort: 7900, se:vnc: ws://172.17.0.5:4444/sessio..., se:vncEnabled: true, se:vncLocalAddress: ws://172.17.0.5:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: ignore, userAgent: Mozilla/5.0 (X11; Linux x86...}
Session ID: 088a720f-6ed5-44e3-9cd2-9947a6c3352e
	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:51)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:518)
	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:355)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:349)
	at org.xwiki.test.ui.XWikiWebDriver.findElementWithoutScrolling(XWikiWebDriver.java:904)
	at org.xwiki.test.ui.XWikiWebDriver.findElementWithoutWaitingWithoutScrolling(XWikiWebDriver.java:105)
	at org.xwiki.realtime.wysiwyg.test.po.RealtimeRichTextAreaElement$CoeditorPosition.getContainer(RealtimeRichTextAreaElement.java:119)
	at org.xwiki.ckeditor.test.po.RichTextAreaElement.getFromEditedContent(RichTextAreaElement.java:314)
	at org.xwiki.realtime.wysiwyg.test.po.RealtimeRichTextAreaElement.access$500(RealtimeRichTextAreaElement.java:41)
	at org.xwiki.realtime.wysiwyg.test.po.RealtimeRichTextAreaElement$CoeditorPosition.lambda$new$0(RealtimeRichTextAreaElement.java:61)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:203)
 
 

1 update

 
cid:jira-generated-image-avatar-7986f2e2-379d-4057-8ec2-08044969d7ce Changes by Simon Urli on 22/May/24 09:07
 
Flickering Test: org.xwiki.realtime.wysiwyg.test.ui.AllIT$NestedRealtimeWYSIWYGEditorIT#editWithSelf(TestReference, TestUtils)