Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-20562

Fix random webdriver failures linked to unsafe clicks

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 11.1
    • Component/s: Seam / JSF UI, Tests
    • Team:
      AT
    • Sprint:
      nxAT Sprint 8.4.3, nxAT Sprint 8.4.4
    • Story Points:
      1

      Description

      seen on https://qa.nuxeo.org/jenkins/job/Deploy/job/IT-nuxeo-master-tests-cap-tomcat-sqlserver/116/

      The click on login submit button should be made safer, as following stack trace makes me think that click did not happen properly

      org.openqa.selenium.TimeoutException: Timed out waiting for page load.
      Command duration or timeout: 60.62 seconds
      Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
      System info: host: 'e216c4c8748e', ip: '172.17.0.11', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-31-generic', java.version: '1.8.0_77'
      Driver info: org.openqa.selenium.firefox.FirefoxDriver
      Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=26.0, platform=LINUX, browserConnectionEnabled=true, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}]
      Session ID: 0dd1ff5b-e6c7-4b05-bd58-bd01482f6d36
      	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.ErrorHandler.createThrowable(ErrorHandler.java:206)
      	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
      	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
      	at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:327)
      	at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:85)
      	at sun.reflect.GeneratedMethodAccessor39.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.$Proxy50.click(Unknown Source)
      	at org.nuxeo.functionaltests.pages.LoginPage.login(LoginPage.java:91)
      	at org.nuxeo.functionaltests.pages.LoginPage.login(LoginPage.java:101)
      	at org.nuxeo.functionaltests.pages.LoginPage.login(LoginPage.java:114)
      	at org.nuxeo.functionaltests.AbstractTest.login(AbstractTest.java:474)
      	at org.nuxeo.functionaltests.AbstractTest.login(AbstractTest.java:470)
      	at org.nuxeo.ftest.cap.ITPublishDocumentTests.testMultiplePublications(ITPublishDocumentTests.java:536)
      Caused by: org.openqa.selenium.TimeoutException: Timed out waiting for page load.
      Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
      System info: host: 'e216c4c8748e', ip: '172.17.0.11', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-31-generic', java.version: '1.8.0_77'
      Driver info: driver.version: unknown
      	at <anonymous class&gt;.Utils.installClickListener/e<(file:///tmp/anonymous8596056340729490326webdriver-profile/extensions/fxdriver@googlecode.com/components/command-processor.js:9372)
      	at <anonymous class&gt;.WebLoadingListener/e(file:///tmp/anonymous8596056340729490326webdriver-profile/extensions/fxdriver@googlecode.com/components/command-processor.js:5142)
      	at <anonymous class&gt;.WebLoadingListener/<(file:///tmp/anonymous8596056340729490326webdriver-profile/extensions/fxdriver@googlecode.com/components/command-processor.js:5150)
      	at <anonymous class&gt;.fxdriver.Timer.prototype.setTimeout/<.notify(file:///tmp/anonymous8596056340729490326webdriver-profile/extensions/fxdriver@googlecode.com/components/command-processor.js:625)
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: