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

InplaceEditIT#selectionRestoreOnSwitchToSource is always failing with chrome

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 17.1.0
    • None
    • Unknown

    Description

      The test is always failing with Chrome with the following stacktrace:

      org.opentest4j.AssertionFailedError: expected: <2> but was: <441>
      	at org.xwiki.edit.test.ui.InplaceEditIT.selectionRestoreOnSwitchToSource(InplaceEditIT.java:378)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
      	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)
      	Suppressed: org.openqa.selenium.InvalidArgumentException: invalid argument: Unexpected dialog type beforeunload
      

      And following screenshot:

      The test doesn't fail on firefox

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            surli Simon Urli
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: