|  
                               
                               
                              
                               
                              | Summary: |  
                              RealtimeWYSIWYGEditorIT#editAlone is flickering  on 15.10.x  |  
                                
                               
                              | Description: |  
                               ! image screenshot-1 .png|thumbnail! 
  h1. Error Message
  {noformat}  The element with the reference df45f09a-610d-4137-88b7-2a21b9d10422 is stale; either its node document is not the active document, or it is no longer connected to the DOM For documentation on this error, please visit Expected condition failed :  https://www  waiting for org . selenium xwiki . dev test.ui.XWikiWebDriver$$Lambda$1789 / documentation/webdriver/troubleshooting/errors#stale-element-reference-exception 0x00007f2c64c25ad8@47892e2 (tried for 10 second(s) with 500 milliseconds interval)  Build info: version: '4. 15 35 .0', revision: ' 1d14b5521b 1c58e5028b ' System info: os.name: 'Linux', os.arch: 'amd64', os.version: ' 4 6 . 19 1 .0- 16 37 -cloud-amd64', java.version: ' 11 17 .0. 6 16 ' Driver info: org. openqa xwiki . selenium test . remote ui . RemoteWebDriver XWikiWebDriver   Command: [72c3672a-36e6-47c9-ab8a-98288ce3ebc0, isElementDisplayed {id=df45f09a-610d-4137-88b7-2a21b9d10422}]  Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion:  123  141 .0,  container:hostname: 0b555f64cd52,  moz:accessibilityChecks: false, moz:buildID:  20240213221259  20250717180000 , moz: debuggerAddress: 127.0.0.1:8145, moz: firefoxOptions: {prefs: {dom.disable_beforeunload: false , remote.active-protocols: 1, remote.events.async.enabled: false }}, moz:geckodriverVersion: 0. 34 36 .0, moz:headless: false, moz:platformVersion:  4  6 . 19 1 .0- 16 37 -cloud-amd64, moz:processID:  148  160 , moz:profile: /tmp/ rust_mozprofile0kY6IR rust_mozprofileLNQ2qc , moz:shutdownTimeout: 60000, moz:webdriverClick: true, moz:windowless: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se: bidiEnabled cdpEnabled : false, se: cdp containerName :  0b555f64cd52, se:deleteSessionOnUi: true, se:downloadsEnabled: true, se:gridWebSocketUrl:  ws:// 172 127 . 17 0 .0. 5 1 : 4444 10997 /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 } Element , userAgent :  [[RemoteWebDriver: firefox on linux  Mozilla/5.0  ( 72c3672a-36e6-47c9-ab8a-98288ce3ebc0)] -> name X11; Linux x86..., webSocketUrl :  action_preview]  ws://172.17.0.5:4444/sessio...}  Session ID:  72c3672a  ffa26c58 - 36e6 6474 - 47c9 4d05 - ab8a a0af - 98288ce3ebc0 9294cfb2895a  {noformat}
  h1. Stacktrace
  {noformat} org.openqa.selenium. StaleElementReferenceException TimeoutException :   The element with the reference df45f09a-610d-4137-88b7-2a21b9d10422 is stale; either its node document is not the active document, or it is no longer connected to the DOM For documentation on this error, please visit Expected condition failed :  https://www  waiting for org . selenium xwiki . dev test.ui.XWikiWebDriver$$Lambda$1789 / documentation/webdriver/troubleshooting/errors#stale-element-reference-exception 0x00007f2c64c25ad8@47892e2 (tried for 10 second(s) with 500 milliseconds interval)  Build info: version: '4. 15 35 .0', revision: ' 1d14b5521b 1c58e5028b ' System info: os.name: 'Linux', os.arch: 'amd64', os.version: ' 4 6 . 19 1 .0- 16 37 -cloud-amd64', java.version: ' 11 17 .0. 6 16 ' Driver info: org. openqa xwiki . selenium test . remote ui . RemoteWebDriver XWikiWebDriver   Command: [72c3672a-36e6-47c9-ab8a-98288ce3ebc0, isElementDisplayed {id=df45f09a-610d-4137-88b7-2a21b9d10422}]  Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion:  123  141 .0,  container:hostname: 0b555f64cd52,  moz:accessibilityChecks: false, moz:buildID:  20240213221259  20250717180000 , moz: debuggerAddress: 127.0.0.1:8145, moz: firefoxOptions: {prefs: {dom.disable_beforeunload: false , remote.active-protocols: 1, remote.events.async.enabled: false }}, moz:geckodriverVersion: 0. 34 36 .0, moz:headless: false, moz:platformVersion:  4  6 . 19 1 .0- 16 37 -cloud-amd64, moz:processID:  148  160 , moz:profile: /tmp/ rust_mozprofile0kY6IR rust_mozprofileLNQ2qc , moz:shutdownTimeout: 60000, moz:webdriverClick: true, moz:windowless: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se: bidiEnabled cdpEnabled : false, se: cdp containerName :  0b555f64cd52, se:deleteSessionOnUi: true, se:downloadsEnabled: true, se:gridWebSocketUrl:  ws:// 172 127 . 17 0 .0. 5 1 : 4444 10997 /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 } Element , userAgent :  [[RemoteWebDriver: firefox on linux (72c3672a-36e6-47c9-ab8a-98288ce3ebc0)] -> name: action_preview] Session ID: 72c3672a-36e6-47c9-ab8a-98288ce3ebc0  at java.base  Mozilla / java 5 . lang 0 (X11; Linux x86 . reflect . Constructor . newInstance(Constructor.java , webSocketUrl : 490)  at org  ws://172 . openqa 17 . selenium 0 . remote 5:4444/sessio . codec . w3c . W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java } Session ID : 200)  ffa26c58-6474-4d05-a0af-9294cfb2895a   at org.openqa.selenium. remote support . codec ui . w3c WebDriverWait . W3CHttpResponseCodec.decode timeoutException ( W3CHttpResponseCodec WebDriverWait .java: 133 84 )  at org.openqa.selenium. remote support . codec ui . w3c FluentWait . W3CHttpResponseCodec.decode until ( W3CHttpResponseCodec FluentWait .java: 52 228 )  at org. openqa xwiki . selenium test . remote ui . HttpCommandExecutor XWikiWebDriver . execute waitUntilCondition ( HttpCommandExecutor XWikiWebDriver .java: 191 229 )  at org. openqa xwiki . selenium test . remote ui . TracedCommandExecutor XWikiWebDriver . execute waitUntilElementsAreVisible ( TracedCommandExecutor XWikiWebDriver .java: 51 331 )  at org. openqa xwiki . selenium test . remote ui . RemoteWebDriver XWikiWebDriver . execute waitUntilElementIsVisible ( RemoteWebDriver XWikiWebDriver .java: 607 286 )  at org. openqa xwiki . selenium test . remote ui . RemoteWebElement XWikiWebDriver . execute waitUntilElementIsVisible ( RemoteWebElement XWikiWebDriver .java: 224 274 )  at org. openqa xwiki . selenium edit . remote test . RemoteWebElement po . isDisplayed(RemoteWebElement InplaceEditablePage . java:283)  at java.base/java.util.stream.MatchOps$1MatchSink.accept waitForView ( MatchOps InplaceEditablePage .java: 90 255 )  at  java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1631)  at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)  at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)  at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)  at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)  at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230)  at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196)  at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)  at java.base/java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:528)  at  org.xwiki. realtime. test. ui. po. editor RealtimeInplaceEditablePage . PreviewableEditPage.hasPreviewButton done ( PreviewableEditPage RealtimeInplaceEditablePage .java: 51 66 )  at org.xwiki.realtime.wysiwyg.test.ui.RealtimeWYSIWYGEditorIT.editAlone(RealtimeWYSIWYGEditorIT.java: 98 178 )  at java.base/java.lang.reflect.Method.invoke(Method.java: 566 569 )  at java.base/java.util.ArrayList.forEach(ArrayList.java: 1540 1511 )  at java.base/java.util.ArrayList.forEach(ArrayList.java: 1540 1511 )  at java.base/java.util.ArrayList.forEach(ArrayList.java: 1540 1511 ) {noformat}  |  
                                
                               
                              | Attachment: |  
                              screenshot-1.png  |  
                                
                               
                              | Attachment: |  
                              image.png  |  
                                
                              
                                 |