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

InplaceEditIT#selectionRestoreOnSwitchToSource is always failing with chrome

    XMLWordPrintable

Details

    • Integration
    • Unknown
    • N/A
    • N/A

    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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: