Details

      Description

      The showcase test fail intermittently on Chrome when run against the Alloy Showcase.

      Here are some example failures that appear:

      Results :
      
      Failed tests:   runSelectOneRadioDefaultValueTest(com.liferay.faces.test.showcase.selectoneradio.SelectOneRadioDefaultValueTester): Element (//span[contains(@id,':modelValue')])[1] text "3" is visible. Instead it should be invisible.
      
      Tests in error:
        runInputHiddenImmediateTest(com.liferay.faces.test.showcase.inputhidden.InputHiddenImmediateTester): Timed out after 5 seconds waiting for element ([[ChromeDriver: chrome on MAC (01219ab8c33750672bc599693cc285b9)] -> xpath: (//*[contains(@value,'Submit')])[1]]) to become stale(..)
        runSelectManyCheckboxImmediateTest(com.liferay.faces.test.showcase.selectmanycheckbox.SelectManyCheckboxImmediateTester): unknown error: Element is not clickable at point (296, 356). Other element would receive the click: <input name="j_idt819:selectManyCheckbox" id="j_idt819:selectManyCheckbox:1" type="checkbox" value="2" class="field">(..)
        runSelectOneRadioDataModelTest(com.liferay.faces.test.showcase.selectoneradio.SelectOneRadioDataModelTester): Timed out after 5 seconds waiting for element ([[ChromeDriver: chrome on MAC (01219ab8c33750672bc599693cc285b9)] -> xpath: (//*[contains(@value,'Submit')])[1]]) to become stale(..)
        runSelectOneRadioGeneralTest(com.liferay.faces.test.showcase.selectoneradio.SelectOneRadioGeneralTester): Timed out after 5 seconds waiting for element ([[ChromeDriver: chrome on MAC (01219ab8c33750672bc599693cc285b9)] -> xpath: (//*[contains(@value,'Submit')])[1]]) to become stale(..)
      
      Tests run: 80, Failures: 1, Errors: 4, Skipped: 4
      
      Results :
      
      Failed tests:   runSelectManyCheckboxImmediateTest(com.liferay.faces.test.showcase.selectmanycheckbox.SelectManyCheckboxImmediateTester): Element (//span[contains(@id,':modelValue')])[1] does not contain text "3". Instead it contains text "1(..)
      
      Tests in error:
        runSelectOneRadioDataModelTest(com.liferay.faces.test.showcase.selectoneradio.SelectOneRadioDataModelTester): Timed out after 5 seconds waiting for element ([[ChromeDriver: chrome on MAC (0febc9cd86451787a7ff0b70eae448c4)] -> xpath: (//*[contains(@value,'Submit')])[1]]) to become stale(..)
        runSelectOneRadioDefaultValueTest(com.liferay.faces.test.showcase.selectoneradio.SelectOneRadioDefaultValueTester): unknown error: Element is not clickable at point (296, 259). Other element would receive the click: <div class="showcase-example-usage">...</div>(..)
      
      Tests run: 80, Failures: 1, Errors: 2, Skipped: 4
      
      Results :
      
      Tests in error:
        runLinkNavigationParamTest(com.liferay.faces.test.showcase.link.LinkNavigationParamTester): unknown error: Element is not clickable at point (412, 441). Other element would receive the click: <div class="showcase-example">...</div>(..)
      
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
      

      This issue may be due to tests in Chrome attempting to access elements before all the JavaScript has run.

      The same tests pass on all other browsers and the JSF showcase tests pass on all browsers.

        Activity

        Show
        kyle.stiemann Kyle Stiemann added a comment - Alloy PR: https://github.com/liferay/liferay-faces-alloy/pull/103

          People

          • Assignee:
            kyle.stiemann Kyle Stiemann
            Reporter:
            kyle.stiemann Kyle Stiemann
            Participants of an Issue:
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development

                Subcomponents