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

CompareVersionsTest#testCompareVersionScenario is flickering

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A
    • org.xwiki.test.ui.CompareVersionsTest#testCompareVersionScenario

    Description

      Couldn't set field [XWiki.JavaScriptExtension_0_use] to value [onDemand]

      org.openqa.selenium.WebDriverException: Couldn't set field [XWiki.JavaScriptExtension_0_use] to value [onDemand]
      	at org.xwiki.test.ui.po.FormContainerElement.fillFieldsByElements(FormContainerElement.java:88)
      	at org.xwiki.test.ui.po.FormContainerElement.fillFieldsByName(FormContainerElement.java:79)
      	at org.xwiki.test.ui.CompareVersionsTest.setUp(CompareVersionsTest.java:120)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at org.xwiki.test.ui.AuthenticationRule$1.evaluate(AuthenticationRule.java:73)
      	at org.xwiki.test.ui.browser.BrowserTestRule$1.evaluate(BrowserTestRule.java:104)
      	at com.google.code.tempusfugit.concurrency.IntermittentTestRunner.runChild(IntermittentTestRunner.java:36)
      	at com.google.code.tempusfugit.concurrency.IntermittentTestRunner.runChild(IntermittentTestRunner.java:25)
      	at org.xwiki.test.integration.junit4.ValidateConsoleRule$ValidateConsoleStatement.evaluate(ValidateConsoleRule.java:73)
      	at org.xwiki.test.integration.XWikiExecutorSuite.run(XWikiExecutorSuite.java:195)
      Caused by: org.openqa.selenium.ElementClickInterceptedException: Element <select id="XWiki.JavaScriptExtension_0_use" name="XWiki.JavaScriptExtension_0_use"> is not clickable at point (584,761) because another element <div class="xnotification xnotification-done"> obscures it
      Build info: version: '4.15.0', revision: '1d14b5521b'
      System info: os.name: 'Linux', os.arch: 'amd64', os.version: '4.19.0-13-cloud-amd64', java.version: '11.0.6'
      Driver info: org.openqa.selenium.firefox.FirefoxDriver
      Command: [355d86bc-6ee5-4839-be94-ef2f0909c847, clickElement {id=d5082a00-3727-4fb4-abb2-68f3022b6571}]
      Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 119.0.1, moz:accessibilityChecks: false, moz:buildID: 20231106151204, moz:debuggerAddress: 127.0.0.1:28119, moz:geckodriverVersion: 0.33.0, moz:headless: false, moz:platformVersion: 4.19.0-13-cloud-amd64, moz:processID: 952, moz:profile: /tmp/rust_mozprofileIGkWij, moz:shutdownTimeout: 60000, moz:webdriverClick: true, moz:windowless: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:cdp: ws://127.0.0.1:28119/devtoo..., se:cdpVersion: 85.0, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
      Element: [[[[[[FirefoxDriver: firefox on linux (355d86bc-6ee5-4839-be94-ef2f0909c847)] -> id: xobject_XWiki.JavaScriptExtension_0_content]] -> name: XWiki.JavaScriptExtension_0_use]] -> xpath: .//option[@value = "onDemand"]]
      Session ID: 355d86bc-6ee5-4839-be94-ef2f0909c847
      	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
      	at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:200)
      	at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:133)
      	at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:52)
      	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:191)
      	at org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:200)
      	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:175)
      	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:607)
      	at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:224)
      	at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:77)
      	at org.openqa.selenium.support.ui.Select.setSelected(Select.java:315)
      	at org.openqa.selenium.support.ui.Select.selectByValue(Select.java:195)
      	at org.xwiki.test.ui.po.FormContainerElement.setFieldValue(FormContainerElement.java:134)
      	at org.xwiki.test.ui.po.FormContainerElement.fillFieldsByElements(FormContainerElement.java:86)
      	... 9 more
      

      Looks like the browser does not slide to the field.

      Attachments

        Activity

          People

            surli Simon Urli
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: