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

Fix ITDevJSFHotReloadTest tests randomly failing

    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

      Following tests are randomly? failing:

      Test Result (3 failures / +3)
      Run "dev" functional tests / org.nuxeo.ftest.jsf.hotreload.studio.ITDevJSFHotReloadTest(nuxeo-jsf-ui-hotreload-tests).testCreateStudioDocument
      Run "dev" functional tests / org.nuxeo.ftest.jsf.hotreload.studio.ITDevJSFHotReloadTest(nuxeo-jsf-ui-hotreload-tests).testEditStudioDocument
      Run "dev" functional tests / org.nuxeo.ftest.jsf.hotreload.studio.ITDevJSFHotReloadTest(nuxeo-jsf-ui-hotreload-tests).testWorkflow
      

      For #testWorkflow:

      [2020-07-30T13:14:04.083Z] *** Element info: {Using=id, value=document_create:nxl_layout_TestDocument_create:nxw_title}
      [2020-07-30T13:14:04.083Z] 	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
      [2020-07-30T13:14:04.083Z] 	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
      [2020-07-30T13:14:04.083Z] 	at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
      [2020-07-30T13:14:04.083Z] 	at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
      [2020-07-30T13:14:04.083Z] 	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206) ~[selenium-remote-driver-2.53.0.jar:?]
      [2020-07-30T13:14:04.083Z] 	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158) ~[selenium-remote-driver-2.53.0.jar:?]
      [2020-07-30T13:14:04.083Z] 	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678) ~[selenium-remote-driver-2.53.0.jar:?]
      [2020-07-30T13:14:04.083Z] 	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:363) ~[selenium-remote-driver-2.53.0.jar:?]
      [2020-07-30T13:14:04.083Z] 	at org.openqa.selenium.remote.RemoteWebDriver.findElementById(RemoteWebDriver.java:413) ~[selenium-remote-driver-2.53.0.jar:?]
      [2020-07-30T13:14:04.083Z] 	at org.openqa.selenium.By$ById.findElement(By.java:218) ~[selenium-api-2.53.0.jar:?]
      [2020-07-30T13:14:04.083Z] 	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:355) ~[selenium-remote-driver-2.53.0.jar:?]
      [2020-07-30T13:14:04.083Z] 	at org.nuxeo.functionaltests.Locator.findElement(Locator.java:56) ~[nuxeo-functional-tests-11.2.12.jar:?]
      [2020-07-30T13:14:04.083Z] 	at org.nuxeo.functionaltests.forms.LayoutElement.getElement(LayoutElement.java:122) ~[nuxeo-functional-tests-11.2.12.jar:?]
      [2020-07-30T13:14:04.083Z] 	at org.nuxeo.functionaltests.forms.WidgetElement.getInputElement(WidgetElement.java:40) ~[nuxeo-functional-tests-11.2.12.jar:?]
      [2020-07-30T13:14:04.083Z] 	at org.nuxeo.functionaltests.forms.WidgetElement.setInputValue(WidgetElement.java:60) ~[nuxeo-functional-tests-11.2.12.jar:?]
      [2020-07-30T13:14:04.083Z] 	at org.nuxeo.ftest.jsf.hotreload.studio.StudioDocumentPage.fillForm(StudioDocumentPage.java:70) ~[test-classes/:?]
      [2020-07-30T13:14:04.084Z] 	at org.nuxeo.ftest.jsf.hotreload.studio.StudioDocumentPage.createDocument(StudioDocumentPage.java:131) ~[test-classes/:?]
      [2020-07-30T13:14:04.084Z] 	at org.nuxeo.ftest.jsf.hotreload.studio.ITDevJSFHotReloadTest.testWorkflow(ITDevJSFHotReloadTest.java:219) ~[test-classes/:?]
      ...
      [2020-07-30T13:14:04.084Z] Caused by: org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"id","selector":"document_create:nxl_layout_TestDocument_create:nxw_title"}
      

      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: