Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-25304

WikiEditIT#editWithConflict is flickering

    XMLWordPrintable

Details

    • 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

      Local reproduction

      Run 3 times locally on commit 87df7079518 with the same configuration: 3/3 passed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            surli Simon Urli
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: