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

LightboxIT.navigateThroughImages is flickering

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A
    • org.xwiki.image.lightbox.test.ui.AllIT$NestedLightboxIT#navigateThroughImages(TestUtils, TestReference, TestConfiguration)

    Description

      Screenshot

      Error Message

      Expected condition failed: waiting for org.xwiki.test.ui.XWikiWebDriver$$Lambda$1795/0x00007f86ecc1eda0@60f81861 (tried for 10 second(s) with 500 milliseconds interval)
      Build info: version: '4.33.0', revision: '2c6aaad03a'
      System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.1.0-33-cloud-amd64', java.version: '17.0.15'
      Driver info: org.xwiki.test.ui.XWikiWebDriver
      Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 139.0.1, container:hostname: a7bb0bdc4d42, moz:accessibilityChecks: false, moz:buildID: 20250529122813, moz:firefoxOptions: {prefs: {dom.disable_beforeunload: false, remote.active-protocols: 1, remote.events.async.enabled: false}}, moz:geckodriverVersion: 0.36.0, moz:headless: false, moz:platformVersion: 6.1.0-33-cloud-amd64, moz:processID: 161, moz:profile: /tmp/rust_mozprofileYqSAfh, moz:shutdownTimeout: 60000, moz:webdriverClick: true, moz:windowless: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:cdpEnabled: false, se:containerName: a7bb0bdc4d42, se:gridWebSocketUrl: ws://127.0.0.1:16766/sessio..., se:noVncPort: 7900, se:vnc: ws://172.17.0.5:4444/sessio..., se:vncEnabled: true, se:vncLocalAddress: ws://172.17.0.5:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: ignore, userAgent: Mozilla/5.0 (X11; Linux x86..., webSocketUrl: ws://172.17.0.5:4444/sessio...}
      Session ID: 3134a6a3-4299-4c42-a017-e45ab92d164b
      

      Stacktrace

      org.openqa.selenium.TimeoutException: 
      Expected condition failed: waiting for org.xwiki.test.ui.XWikiWebDriver$$Lambda$1795/0x00007f86ecc1eda0@60f81861 (tried for 10 second(s) with 500 milliseconds interval)
      Build info: version: '4.33.0', revision: '2c6aaad03a'
      System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.1.0-33-cloud-amd64', java.version: '17.0.15'
      Driver info: org.xwiki.test.ui.XWikiWebDriver
      Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 139.0.1, container:hostname: a7bb0bdc4d42, moz:accessibilityChecks: false, moz:buildID: 20250529122813, moz:firefoxOptions: {prefs: {dom.disable_beforeunload: false, remote.active-protocols: 1, remote.events.async.enabled: false}}, moz:geckodriverVersion: 0.36.0, moz:headless: false, moz:platformVersion: 6.1.0-33-cloud-amd64, moz:processID: 161, moz:profile: /tmp/rust_mozprofileYqSAfh, moz:shutdownTimeout: 60000, moz:webdriverClick: true, moz:windowless: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:cdpEnabled: false, se:containerName: a7bb0bdc4d42, se:gridWebSocketUrl: ws://127.0.0.1:16766/sessio..., se:noVncPort: 7900, se:vnc: ws://172.17.0.5:4444/sessio..., se:vncEnabled: true, se:vncLocalAddress: ws://172.17.0.5:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: ignore, userAgent: Mozilla/5.0 (X11; Linux x86..., webSocketUrl: ws://172.17.0.5:4444/sessio...}
      Session ID: 3134a6a3-4299-4c42-a017-e45ab92d164b
      	at 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.test.ui.XWikiWebDriver.waitUntilElementsAreVisible(XWikiWebDriver.java:330)
      	at org.xwiki.test.ui.XWikiWebDriver.waitUntilElementIsVisible(XWikiWebDriver.java:285)
      	at org.xwiki.test.ui.XWikiWebDriver.waitUntilElementIsVisible(XWikiWebDriver.java:273)
      	at org.xwiki.image.lightbox.test.po.ImagePopover.waitUntilReady(ImagePopover.java:77)
      	at org.xwiki.image.lightbox.test.po.LightboxPage.openLightboxAtImage(LightboxPage.java:79)
      	at org.xwiki.image.lightbox.test.ui.LightboxIT.navigateThroughImages(LightboxIT.java:247)
      	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)
      

      Note

      The same issues also impact verifyDownload. But it could affect any method based on the order in which they are running.

      Attachments

        Activity

          People

            mleduc Manuel Leduc
            mleduc Manuel Leduc
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: