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

Fix webdriver test testMultipleVersionsPublicationsByPublishOver on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.1
    • Component/s: Tests

      Description

      ITPublishDocumentTests.testMultipleVersionsPublicationsByPublishOver fails on windows due to the inability to click on an element hidden by the search bar or menu bar because of a small screen on this platform. See attached picture.

      14:58:02,907 ERROR [AbstractTest] Test 'org.nuxeo.ftest.cap.ITPublishDocumentTests#testMultipleVersionsPublicationsByPublishOver' failed
      org.openqa.selenium.WebDriverException: Element is not clickable at point (394.45001220703125, 54.98333740234375). Other element would receive the click: <div class="content"></div>
      Command duration or timeout: 74 milliseconds
      Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
      System info: host: 'WIN-LDIU5D12TMA', ip: '10.0.2.15', os.name: 'Windows Server 2012 R2', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_92'
      Driver info: org.openqa.selenium.firefox.FirefoxDriver
      Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=26.0, platform=WINDOWS, browserConnectionEnabled=true, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}]
      Session ID: 211e5fea-f807-4ba0-a917-c9705f65615c
      	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 org.nuxeo.functionaltests.pages.tabs.PublishTabSubPage.findTreeNodeIndex(PublishTabSubPage.java:110)
      	at org.nuxeo.functionaltests.pages.tabs.PublishTabSubPage.publish(PublishTabSubPage.java:55)
      	at org.nuxeo.ftest.cap.ITPublishDocumentTests.testMultipleVersionsPublicationsByPublishOver(ITPublishDocumentTests.java:805)
      

      Happens on https://qa.nuxeo.org/jenkins/job/master/job/FT-nuxeo-master-webdriver-cap-multidb-win/Slave=MULTIDB_WINDOWS,dbprofile=oracle12c,jdk=java-8-oracle/385/

      Using something similar to DocumentBasePage.makeBreadcrumbUsable is probably a good fix.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: