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

StaticListClassFieldIT.multipleSelect is flickering

    XMLWordPrintable

Details

    • Unknown
    • org.xwiki.appwithinminutes.test.ui.AllITs$NestedStaticListClassFieldIT#multipleSelect{TestReference}

    Description

      Note

      The stack below is for StaticListClassFieldTest.testMultipleSelect. This class has been moved to a docker test, consequently the method is now located at StaticListClassFieldIT.multipleSelect

      Please update the stack below and remove this not if the test flickers again.

      Error Message

      Unable to locate element: ./ul[@id='fields']/li[last()]
      For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
      Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
      System info: host: '82a2da5b0ad0', ip: '172.17.0.3', os.name: 'Linux', os.arch: 'amd64', os.version: '4.9.165-xxxx-std-ipv6-64', java.version: '1.8.0_242'
      Driver info: org.openqa.selenium.firefox.FirefoxDriver
      Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 69.0.3, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20191009172106, moz:geckodriverVersion: 0.26.0, moz:headless: false, moz:processID: 821, moz:profile: /tmp/rust_mozprofileY4ZjJx, moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, platformVersion: 4.9.165-xxxx-std-ipv6-64, rotatable: false, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
      Session ID: cddf0bec-ef5e-4ec6-8efd-a8063fe7bef8
      *** Element info: {Using=xpath, value=./ul[@id='fields']/li[last()]}
      

      Stacktrace

      org.openqa.selenium.NoSuchElementException: 
      Unable to locate element: ./ul[@id='fields']/li[last()]
      For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
      Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
      System info: host: '82a2da5b0ad0', ip: '172.17.0.3', os.name: 'Linux', os.arch: 'amd64', os.version: '4.9.165-xxxx-std-ipv6-64', java.version: '1.8.0_242'
      Driver info: org.openqa.selenium.firefox.FirefoxDriver
      Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 69.0.3, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20191009172106, moz:geckodriverVersion: 0.26.0, moz:headless: false, moz:processID: 821, moz:profile: /tmp/rust_mozprofileY4ZjJx, moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, platformVersion: 4.9.165-xxxx-std-ipv6-64, rotatable: false, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
      Session ID: cddf0bec-ef5e-4ec6-8efd-a8063fe7bef8
      *** Element info: {Using=xpath, value=./ul[@id='fields']/li[last()]}
      	at sun.reflect.GeneratedConstructorAccessor39.newInstance(Unknown Source)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
      	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
      	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
      	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
      	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
      	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
      	at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:285)
      	at org.openqa.selenium.remote.RemoteWebElement.findElement(RemoteWebElement.java:185)
      	at org.openqa.selenium.remote.RemoteWebElement.findElementByXPath(RemoteWebElement.java:261)
      	at org.openqa.selenium.By$ByXPath.findElement(By.java:353)
      	at org.openqa.selenium.remote.RemoteWebElement.findElement(RemoteWebElement.java:181)
      	at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:51)
      	at com.sun.proxy.$Proxy42.findElement(Unknown Source)
      	at org.xwiki.appwithinminutes.test.po.ApplicationClassEditPage.addField(ApplicationClassEditPage.java:96)
      	at org.xwiki.test.ui.appwithinminutes.AbstractListClassFieldTest.testMultipleSelect(AbstractListClassFieldTest.java:52)
      

      Attachments

        Activity

          People

            mleduc Manuel Leduc
            mflorea Marius Dumitru Florea
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: