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

Fix ITSmartSearchTest tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 11.x
    • Component/s: CI/CD, Seam / JSF UI

      Description

      Setup of ITSmartSearchTest tests is failing:

      [2020-07-31T11:45:20.995Z] org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"id","selector":"document_create:nxl_heading:nxw_title"}
      [2020-07-31T11:45:20.995Z] Command duration or timeout: 209 milliseconds
      [2020-07-31T11:45:20.995Z] For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
      [2020-07-31T11:45:20.995Z] Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
      [2020-07-31T11:45:20.995Z] System info: host: 'nuxeo-jsf-11-hbpvc', ip: '10.61.99.47', os.name: 'Linux', os.arch: 'amd64', os.version: '4.14.138+', java.version: '11.0.7'
      [2020-07-31T11:45:20.995Z] Driver info: org.openqa.selenium.firefox.FirefoxDriver
      [2020-07-31T11:45:20.995Z] Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=42.0, platform=LINUX, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}]
      [2020-07-31T11:45:20.995Z] Session ID: d97c895b-98ed-4b63-9d43-2665b510229f
      [2020-07-31T11:45:20.995Z] *** Element info: {Using=id, value=document_create:nxl_heading:nxw_title}
      [2020-07-31T11:45:20.995Z] 	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
      [2020-07-31T11:45:20.995Z] 	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
      [2020-07-31T11:45:20.995Z] 	at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
      [2020-07-31T11:45:20.995Z] 	at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
      [2020-07-31T11:45:20.995Z] 	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206) ~[selenium-remote-driver-2.53.0.jar:?]
      [2020-07-31T11:45:20.995Z] 	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158) ~[selenium-remote-driver-2.53.0.jar:?]
      [2020-07-31T11:45:20.995Z] 	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678) ~[selenium-remote-driver-2.53.0.jar:?]
      [2020-07-31T11:45:20.995Z] 	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:363) ~[selenium-remote-driver-2.53.0.jar:?]
      [2020-07-31T11:45:20.995Z] 	at org.openqa.selenium.remote.RemoteWebDriver.findElementById(RemoteWebDriver.java:413) ~[selenium-remote-driver-2.53.0.jar:?]
      [2020-07-31T11:45:20.995Z] 	at org.openqa.selenium.By$ById.findElement(By.java:218) ~[selenium-api-2.53.0.jar:?]
      [2020-07-31T11:45:20.995Z] 	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:355) ~[selenium-remote-driver-2.53.0.jar:?]
      [2020-07-31T11:45:20.995Z] 	at org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:69) ~[selenium-support-2.53.0.jar:?]
      [2020-07-31T11:45:20.995Z] 	at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:38) ~[selenium-support-2.53.0.jar:?]
      [2020-07-31T11:45:20.995Z] 	at com.sun.proxy.$Proxy35.sendKeys(Unknown Source) ~[?:?]
      [2020-07-31T11:45:20.995Z] 	at org.nuxeo.functionaltests.pages.forms.FileCreationFormPage.createFileDocument(FileCreationFormPage.java:41) ~[nuxeo-functional-tests-11.2.13.jar:?]
      [2020-07-31T11:45:20.995Z] 	at org.nuxeo.functionaltests.pages.DocumentBasePage.createFile(DocumentBasePage.java:614) ~[nuxeo-functional-tests-11.2.13.jar:?]
      [2020-07-31T11:45:20.995Z] 	at org.nuxeo.ftest.smart.search.ITSmartSearchTest.setUp(ITSmartSearchTest.java:86) ~[test-classes/:?]
      

      Attached screenshot taken by the CI.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              troger Thomas Roger
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: