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

RealtimeWYSIWYGEditorIT#dragAndDropFilesAtTheSameTime is flickering

    XMLWordPrintable

Details

    • Unknown
    • org.xwiki.realtime.wysiwyg.test.ui.AllIT$NestedRealtimeWYSIWYGEditorIT#dragAndDropFilesAtTheSameTime(TestUtils, TestReference, MultiUserTestUtils)

    Description

      RealtimeWYSIWYGEditorIT.dragAndDropFilesAtTheSameTime is flickering.

      The failure is always a timeout:

      org.openqa.selenium.TimeoutException: Expected condition failed: waiting for org.xwiki.test.ui.XWikiWebDriver$$Lambda$1568/0x0000000100c6e040@17c5f202 (tried for 10 second(s) with 500 milliseconds interval)	
      Build info: version: '4.21.0', revision: '79ed462ef4'	
      System info: os.name: 'Linux', os.arch: 'amd64', os.version: '4.19.0-27-cloud-amd64', java.version: '11.0.24'	
      Driver info: org.xwiki.test.ui.XWikiWebDriver	
      Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 130.0.6723.69, chrome: {chromedriverVersion: 130.0.6723.69 (3ec172b971b9..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:45857}, goog:loggingPrefs: {browser: ALL}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:bidiEnabled: false, se:cdp: ws://172.29.0.4:4444/sessio..., se:cdpVersion: 130.0.6723.69, se:containerName: , se:noVncPort: 7900, se:vnc: ws://172.29.0.4:4444/sessio..., se:vncEnabled: true, se:vncLocalAddress: ws://172.29.0.4:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: ignore, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}	
      Session ID: f1140b16f4b75a93f14f1bfbed2bbf5b	
      

      I've seen two different stack traces, more often:

      org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:84)	
      	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:228)	
      	at org.xwiki.test.ui.XWikiWebDriver.waitUntilCondition(XWikiWebDriver.java:228)	
      	at org.xwiki.ckeditor.test.po.RichTextAreaElement.waitUntilContentContains(RichTextAreaElement.java:234)	
      	at org.xwiki.ckeditor.test.po.RichTextAreaElement.waitUntilWidgetSelected(RichTextAreaElement.java:622)	
      	at org.xwiki.ckeditor.test.po.RichTextAreaElement.dropFile(RichTextAreaElement.java:499)	
      	at org.xwiki.realtime.wysiwyg.test.ui.RealtimeWYSIWYGEditorIT.dragAndDropFilesAtTheSameTime(RealtimeWYSIWYGEditorIT.java:1769)	
      	at java.lang.reflect.Method.invoke(Unknown Source)	
      	at java.util.ArrayList.forEach(Unknown Source)	
      	at java.util.ArrayList.forEach(Unknown Source)	
      	at java.util.ArrayList.forEach(Unknown Source)
      

      but sometimes it's:

      org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:84)
      	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:228)
      	at org.xwiki.test.ui.XWikiWebDriver.waitUntilCondition(XWikiWebDriver.java:228)
      	at org.xwiki.ckeditor.test.po.RichTextAreaElement.waitForUploadsToFinish(RichTextAreaElement.java:602)
      	at org.xwiki.realtime.wysiwyg.test.ui.RealtimeWYSIWYGEditorIT.dragAndDropFilesAtTheSameTime(RealtimeWYSIWYGEditorIT.java:1809)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      	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)
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: