Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-4564

Test failure in the table test on RC5 build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.0-RC5
    • 4.0.0-RC5
    • None
    • None

    Description

      Report by volosied 

      [INFO] [ERROR] Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 21.554 s <<< FAILURE! - in org.apache.myfaces.core.integrationtests.ajax.IntegrationTest
      [INFO] [ERROR] org.apache.myfaces.core.integrationtests.ajax.IntegrationTest.testBasicTable  Time elapsed: 6.733 s  <<< ERROR!
      [INFO] org.openqa.selenium.TimeoutException: Expected condition failed: waiting for org.apache.myfaces.core.integrationtests.ajax.IntegrationTest$$Lambda$675/0x000000080085b040@2f54f746 (tried for 0 second(s) with 500 milliseconds interval)
      [INFO]  at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:87)
      ...
      [INFO]  at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
      [INFO]  at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
      [INFO]  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)
      [INFO] Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"css selector","selector":"#head_row1_0"}
      [INFO]   (Session info: headless chrome=110.0.5481.100)
      ...

      This is very likey a timeout issue, given the new ajax code is somewhat slower than the older one. The test needs to be fixed to wait for a dom condition with a higher timeout window. I will take over this!

       

      Attachments

        Issue Links

          Activity

            People

              werpu Werner Punz
              werpu Werner Punz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: