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

ApplicationNameTest.testExistingAppName is flickering

    XMLWordPrintable

Details

    • Unknown
    • org.xwiki.test.ui.appwithinminutes.ApplicationNameTest#testExistingAppName

    Description

      ApplicationNameTest.testExistingAppName is flickering with the following stacktrace:

      org.openqa.selenium.TimeoutException: 
      TimedPromise timed out after 300000 ms
      Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
      System info: host: '7799f1b5c4cf', ip: '172.17.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '4.19.0-16-cloud-amd64', java.version: '1.8.0_312'
      Driver info: org.openqa.selenium.firefox.FirefoxDriver
      Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 92.0.1, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20210922161155, moz:geckodriverVersion: 0.30.0, moz:headless: false, moz:processID: 1093, moz:profile: /tmp/rust_mozprofilenS5oys, moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, platformVersion: 4.19.0-16-cloud-amd64, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
      Session ID: 523c5faa-a810-487c-9461-9eee2bc05c28
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      	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.RemoteWebDriver.get(RemoteWebDriver.java:277)
      	at org.xwiki.test.ui.XWikiWebDriver.get(XWikiWebDriver.java:627)
      	at org.xwiki.test.ui.TestUtils.gotoPage(TestUtils.java:710)
      	at org.xwiki.test.ui.TestUtils.gotoPage(TestUtils.java:683)
      	at org.xwiki.test.ui.TestUtils.gotoPage(TestUtils.java:675)
      	at org.xwiki.appwithinminutes.test.po.ApplicationCreatePage.gotoPage(ApplicationCreatePage.java:70)
      	at org.xwiki.test.ui.appwithinminutes.ApplicationNameTest.testExistingAppName(ApplicationNameTest.java:133)
      

      This flicker behaviour sounds related to a generic problem with the call to XWikiWebDriver#get on flavor-test-ui tests. This test should be migrated to fix this.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: