Most of the recent failures are as indicated by Manuel Manue and happened both on {*}Firefox and Chrome{*} . The reason seems to be that the text typed inside the information box is not synchronized. {noformat} 04:22:26.073 [main] INFO o.x.r.w.test.ui.RealtimeTestDebugger - [2024-01-07T04:22:19.156Z] [INFO] http://xwikiweb:8080/xwiki/webjars/wiki%3Axwiki/xwiki-platform-realtime-wysiwyg-webjar/16.0.0-SNAPSHOT/webjar.bundle.min.js?r=1 25:385 "Unlocking editor" 04:22:26.073 [main] INFO o.x.r.w.test.ui.RealtimeTestDebugger - [2024-01-07T04:22:19.549Z] [SEVERE] http://xwikiweb:8080/xwiki/bin/edit/NestedRealtimeWYSIWYGEditorIT/inplaceEditableMacro/WebHome?form_token=aAIoPWregAjOmdRjQAscVA&editor=wysiwyg - Access to XMLHttpRequest at 'https://cke4.ckeditor.com/ckeditor4-secure-version/versions.json?v=4.22.1%20DEV' from origin 'http://xwikiweb:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. 04:22:26.073 [main] INFO o.x.r.w.test.ui.RealtimeTestDebugger - [2024-01-07T04:22:19.549Z] [SEVERE] https://cke4.ckeditor.com/ckeditor4-secure-version/versions.json?v=4.22.1%20DEV - Failed to load resource: net::ERR_FAILED 04:22:26.073 [main] INFO o.x.r.w.test.ui.RealtimeTestDebugger - [2024-01-07T04:22:20.960Z] [WARNING] http://xwikiweb:8080/xwiki/webjars/wiki%3Axwiki/xwiki-platform-realtime-wysiwyg-webjar/16.0.0-SNAPSHOT/webjar.bundle.min.js?r=1 23:80 "Unexpected local content after synchronization: " Object 04:22:26.073 [main] INFO o.x.r.w.test.ui.RealtimeTestDebugger - [2024-01-07T04:22:21.525Z] [WARNING] http://xwikiweb:8080/xwiki/webjars/wiki%3Axwiki/xwiki-platform-realtime-wysiwyg-webjar/16.0.0-SNAPSHOT/webjar.bundle.min.js?r=1 23:80 "Unexpected local content after synchronization: " Object 04:22:26.073 [main] INFO o.x.r.w.test.ui.RealtimeTestDebugger - [2024-01-07T04:22:21.665Z] [WARNING] http://xwikiweb:8080/xwiki/webjars/wiki%3Axwiki/xwiki-platform-realtime-wysiwyg-webjar/16.0.0-SNAPSHOT/webjar.bundle.min.js?r=1 23:80 "Unexpected local content after synchronization: " Object 04:22:26.073 [main] INFO o.x.r.w.test.ui.RealtimeTestDebugger - [2024-01-07T04:22:23.455Z] [INFO] http://xwikiweb:8080/xwiki/webjars/wiki%3Axwiki/xwiki-platform-realtime-webjar/16.0.0-SNAPSHOT/webjar.bundle.min.js?r=1 28:1436 "Saver.create.saveandview" 04:22:26.073 [main] INFO o.x.r.w.test.ui.RealtimeTestDebugger - [2024-01-07T04:22:23.594Z] [INFO] http://xwikiweb:8080/xwiki/webjars/wiki%3Axwiki/xwiki-platform-realtime-webjar/16.0.0-SNAPSHOT/webjar.bundle.min.js?r=1 28:1436 "Triggering lastSaved refresh on remote clients." 04:22:26.073 [main] INFO o.x.r.w.test.ui.RealtimeTestDebugger - [2024-01-07T04:22:23.594Z] [INFO] http://xwikiweb:8080/xwiki/webjars/wiki%3Axwiki/xwiki-platform-realtime-webjar/16.0.0-SNAPSHOT/webjar.bundle.min.js?r=1 28:1436 "Created document version 1.1" 04:22:26.073 [main] INFO o.x.r.w.test.ui.RealtimeTestDebugger - [2024-01-07T04:22:23.594Z] [INFO] http://xwikiweb:8080/xwiki/webjars/wiki%3Axwiki/xwiki-platform-realtime-webjar/16.0.0-SNAPSHOT/webjar.bundle.min.js?r=1 4:187 "Saved: v1.1" 04:22:26.073 [main] INFO o.x.r.w.test.ui.RealtimeTestDebugger - [2024-01-07T04:22:24.212Z] [INFO] http://xwikiweb:8080/xwiki/webjars/wiki%3Axwiki/xwiki-platform-realtime-webjar/16.0.0-SNAPSHOT/webjar.bundle.min.js?r=1 4:187 "v1.1 saved by John" 04:22:26.073 [main] INFO o.x.r.w.test.ui.RealtimeTestDebugger - [2024-01-07T04:22:24.212Z] [INFO] http://xwikiweb:8080/xwiki/webjars/wiki%3Axwiki/xwiki-platform-realtime-webjar/16.0.0-SNAPSHOT/webjar.bundle.min.js?r=1 28:1436 "A remote client saved and incremented the latest common ancestor." 04:22:26.074 [main] INFO o.x.r.w.test.ui.RealtimeTestDebugger - [2024-01-07T04:22:24.443Z] [INFO] http://xwikiweb:8080/xwiki/webjars/wiki%3Axwiki/xwiki-platform-realtime-webjar/16.0.0-SNAPSHOT/webjar.bundle.min.js?r=1 28:1436 "lastSaved.shouldRedirect true" 04:22:26.074 [main] INFO o.x.r.w.test.ui.RealtimeTestDebugger - [2024-01-07T04:22:24.443Z] [INFO] http://xwikiweb:8080/xwiki/webjars/wiki%3Axwiki/xwiki-platform-realtime-webjar/16.0.0-SNAPSHOT/webjar.bundle.min.js?r=1 28:1436 "Saver.create.saveandview.receivedOwnIsaved" 04:22:26.074 [main] INFO o.x.r.w.test.ui.RealtimeTestDebugger - [2024-01-07T04:22:24.444Z] [INFO] http://xwikiweb:8080/xwiki/webjars/wiki%3Axwiki/xwiki-platform-realtime-webjar/16.0.0-SNAPSHOT/webjar.bundle.min.js?r=1 28:1436 "redirecting!" {noformat} The video recording [^mysql-8.0-default-tomcat-9-jdk11-chrome-org.xwiki.realtime.wysiwyg.test.ui.AllIT$NestedRealtimeWYSIWYGEditorIT-inplaceEditableMacro.flv] shows a couple of things: * the first editor does receive the info message with "my info tex" * there's a problem around the time we replace "tex" with "message": the content of the info box remains "my info tex" (probably due to a conflict with content coming from the first editor) * the content of the information box is "my info tex" right before the save, but the saved content is still "Type your information message here." which seems to indicate that the widget (macro) data (stored in {{data-macro}} attribute) is not synchronized with the actual contents (DOM) of the macro output (again, most probably due to a synchronization problem).
There is also [another type of failure|https://ge.xwiki.org/s/srutyba2jtpks/tests/goal/org.xwiki.platform:xwiki-platform-realtime-wysiwyg-test-docker:failsafe:integration-test@functional-tests/details/org.xwiki.realtime.wysiwyg.test.ui.AllIT$NestedRealtimeWYSIWYGEditorIT/inplaceEditableMacro?expanded-stacktrace=WyIwIl0&top-execution=1], less common (happened only once recently): {noformat} at org.xwiki.ckeditor.test.po.RichTextAreaElement.waitUntilContentContains(RichTextAreaElement.java:157) at org.xwiki.realtime.wysiwyg.test.ui.RealtimeWYSIWYGEditorIT.inplaceEditableMacro(RealtimeWYSIWYGEditorIT.java:299) {noformat} Seems to be caused by a { * } connection drop { * } : {noformat} 01:40:14.280 [main] INFO o.x.r.w.test.ui.RealtimeTestDebugger - [2024-01-05T01:40:02.976Z] [INFO] http://xwikiweb:8080/xwiki/webjars/wiki%3Axwiki/xwiki-platform-realtime-wysiwyg-webjar/16.0.0-SNAPSHOT/webjar.bundle.min.js?r=1 25:385 "Unlocking editor" 01:40:14.280 [main] INFO o.x.r.w.test.ui.RealtimeTestDebugger - [2024-01-05T01:40:02.998Z] [INFO] http://xwikiweb:8080/xwiki/webjars/wiki%3Axwiki/xwiki-platform-realtime-wysiwyg-webjar/16.0.0-SNAPSHOT/webjar.bundle.min.js?r=1 26:272 "Connection status: false" 01:40:14.280 [main] INFO o.x.r.w.test.ui.RealtimeTestDebugger - [2024-01-05T01:40:10.996Z] [INFO] http://xwikiweb:8080/xwiki/webjars/wiki%3Axwiki/xwiki-platform-realtime-wysiwyg-webjar/16.0.0-SNAPSHOT/webjar.bundle.min.js?r=1 26:272 "Connection status: true" 01:40:14.280 [main] INFO o.x.r.w.test.ui.RealtimeTestDebugger - [2024-01-05T01:40:11.041Z] [INFO] http://xwikiweb:8080/xwiki/webjars/wiki%3Axwiki/xwiki-platform-realtime-wysiwyg-webjar/16.0.0-SNAPSHOT/webjar.bundle.min.js?r=1 25:385 "Unlocking editor" {noformat} which could be related to the failure from XWIKI-21605. |
|