Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
17.10.13
-
Unknown
-
-
org.xwiki.flamingo.test.docker.AllIT$NestedEditIT#editWithConflict
Description
Symptom
org.xwiki.flamingo.test.docker.WikiEditIT#editWithConflict (run as AllIT$NestedEditIT) sometimes fails on Chrome while waiting for the edit conflict modal to close:
org.openqa.selenium.WebDriverException: unknown error: unhandled inspector error: {"code":-32000,"message":"Node with given id does not belong to the document"}
(Session info: chrome=155.0.8059.79)
at org.xwiki.test.ui.po.BaseModal.isDisplayed(BaseModal.java:63)
at org.xwiki.test.ui.po.BaseModal$1.apply(BaseModal.java:101)
at org.xwiki.test.ui.XWikiWebDriver.waitUntilCondition(XWikiWebDriver.java:229)
at org.xwiki.test.ui.po.BaseModal.waitForClosed(BaseModal.java:96)
at org.xwiki.flamingo.skin.test.po.EditConflictModal.submitCurrentChoice(EditConflictModal.java:273)
at org.xwiki.flamingo.test.docker.WikiEditIT.editWithConflict(WikiEditIT.java:617)
This looks like the modal element being detached from the document while BaseModal.waitForClosed() checks whether it's displayed, with Chrome reporting it as this generic WebDriverException rather than a StaleElementReferenceException.
Occurrence
- https://ci.xwiki.org/job/XWiki%20Environment%20Tests/job/xwiki-platform/job/stable-17.10.x/320/ - stable-17.10.x, commit 87df7079518, PostgreSQL latest / Tomcat 11-jdk25 / S3 / Chrome
Local reproduction
Run 3 times locally on commit 87df7079518 with the same configuration: 3/3 passed.