Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-2934

Alloy Showcase tests fail intermittently on Chrome

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.

      Attachments

        Activity

          People

            kyle.stiemann Kyle Stiemann (Inactive)
            kyle.stiemann Kyle Stiemann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package
                alloy-1.0.1
                alloy-2.0.1
                showcase-2.0.1
                showcase-3.0.1
                alloy-3.0.1