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

ImageIT#editImageWithDataWidgetAttribute is flickering

    XMLWordPrintable

Details

    • Unknown
    • org.xwiki.ckeditor.test.ui.AllIT$NestedImageIT#editImageWithDataWidgetAttribute(TestUtils, TestReference)

    Description

      ImageIT.editImageWithDataWidgetAttribute(TestUtils, TestReference) is sometimes failing with following error:

      Element <img id="Iimage.gif" src="/xwiki/bin/download/NestedImageIT/editImageWithDataWidgetAttribute/WebHome/image.gif"> could not be scrolled into view
      Build info: version: '4.24.0', revision: '748ffc9bc3'
      System info: os.name: 'Linux', os.arch: 'amd64', os.version: '4.19.0-27-cloud-amd64', java.version: '17.0.12'
      Driver info: org.openqa.selenium.remote.RemoteWebDriver
      Command: [5aff617d-1f3f-4f68-b12d-d3e3e97daf56, clickElement {id=e4f2eec5-0681-40c3-8c1b-781fed8b3b2b}]
      Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 130.0, moz:accessibilityChecks: false, moz:buildID: 20240829075237, moz:debuggerAddress: 127.0.0.1:28597, moz:firefoxOptions: {prefs: {dom.disable_beforeunload: false, remote.active-protocols: 3}}, moz:geckodriverVersion: 0.35.0, moz:headless: false, moz:platformVersion: 4.19.0-27-cloud-amd64, moz:processID: 152, moz:profile: /tmp/rust_mozprofileCeGjm8, moz:shutdownTimeout: 60000, moz:webdriverClick: true, moz:windowless: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:cdp: ws://172.21.0.2:4444/sessio..., se:cdpVersion: 85.0, se:containerName: , se:gridWebSocketUrl: ws://127.0.0.1:28597/sessio..., se:noVncPort: 7900, se:vnc: ws://172.21.0.2:4444/sessio..., se:vncEnabled: true, se:vncLocalAddress: ws://172.21.0.2:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: ignore, userAgent: Mozilla/5.0 (X11; Linux x86..., webSocketUrl: ws://172.21.0.2:4444/sessio...}
      Element: [[RemoteWebDriver: firefox on linux (5aff617d-1f3f-4f68-b12d-d3e3e97daf56)] -> css selector: img]
      Session ID: 5aff617d-1f3f-4f68-b12d-d3e3e97daf56
      

      And stack trace:

      org.openqa.selenium.ElementNotInteractableException: 
      Element <img id="Iimage.gif" src="/xwiki/bin/download/NestedImageIT/editImageWithDataWidgetAttribute/WebHome/image.gif"> could not be scrolled into view
      Build info: version: '4.24.0', revision: '748ffc9bc3'
      System info: os.name: 'Linux', os.arch: 'amd64', os.version: '4.19.0-27-cloud-amd64', java.version: '17.0.12'
      Driver info: org.openqa.selenium.remote.RemoteWebDriver
      Command: [5aff617d-1f3f-4f68-b12d-d3e3e97daf56, clickElement {id=e4f2eec5-0681-40c3-8c1b-781fed8b3b2b}]
      Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 130.0, moz:accessibilityChecks: false, moz:buildID: 20240829075237, moz:debuggerAddress: 127.0.0.1:28597, moz:firefoxOptions: {prefs: {dom.disable_beforeunload: false, remote.active-protocols: 3}}, moz:geckodriverVersion: 0.35.0, moz:headless: false, moz:platformVersion: 4.19.0-27-cloud-amd64, moz:processID: 152, moz:profile: /tmp/rust_mozprofileCeGjm8, moz:shutdownTimeout: 60000, moz:webdriverClick: true, moz:windowless: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:cdp: ws://172.21.0.2:4444/sessio..., se:cdpVersion: 85.0, se:containerName: , se:gridWebSocketUrl: ws://127.0.0.1:28597/sessio..., se:noVncPort: 7900, se:vnc: ws://172.21.0.2:4444/sessio..., se:vncEnabled: true, se:vncLocalAddress: ws://172.21.0.2:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: ignore, userAgent: Mozilla/5.0 (X11; Linux x86..., webSocketUrl: ws://172.21.0.2:4444/sessio...}
      Element: [[RemoteWebDriver: firefox on linux (5aff617d-1f3f-4f68-b12d-d3e3e97daf56)] -> css selector: img]
      Session ID: 5aff617d-1f3f-4f68-b12d-d3e3e97daf56
      	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
      	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
      	at org.openqa.selenium.remote.ErrorCodec.decode(ErrorCodec.java:167)
      	at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:138)
      	at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:50)
      	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:190)
      	at org.openqa.selenium.remote.TracedCommandExecutor.execute(TracedCommandExecutor.java:53)
      	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:545)
      	at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:223)
      	at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:76)
      	at org.xwiki.ckeditor.test.ui.ImageIT.lambda$editImageWithDataWidgetAttribute$15(ImageIT.java:874)
      	at org.xwiki.ckeditor.test.po.CKEditor.executeOnEditedContent(CKEditor.java:164)
      	at org.xwiki.ckeditor.test.ui.ImageIT.editImageWithDataWidgetAttribute(ImageIT.java:874)
      	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: