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

Integration test failures in jsf2-html5-portlet due to HTML5 elements

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: liferay-faces-4.2.5-ga6
    • Fix Version/s: None
    • Component/s: ZZZ: Legacy - Test
    • Labels:
      None

      Description

      The job-application-portlet testing framework needs to be fortified so that the jsf2-html5-portlet can pass. Some of the failures are due to HTML5 elements such as the <input type="date" /> rather than JSF type of date picker like <p:calendar />.

      Here is a log of the test failures:

      Tests run: 11, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 28.693 sec <<< FAILURE!
      
      Results :
      
      Tests in error: 
        jobApplicantRenderViewMode(com.liferay.faces.test.Jsf2Html5PortletTest): Unable to locate element: {"method":"xpath","selector":"//div[contains(text(),'You are signed in as')]"}(..)
        dataEntry(com.liferay.faces.test.Jsf2Html5PortletTest): Unable to locate element: {"method":"xpath","selector":"//input[contains(@id,':firstName')]"}(..)
        validateEmail(com.liferay.faces.test.Jsf2Html5PortletTest): Unable to locate element: {"method":"xpath","selector":"//input[contains(@id,':emailAddress')]"}(..)
        preferencesAndEditMode(com.liferay.faces.test.Jsf2Html5PortletTest): Unable to locate element: {"method":"xpath","selector":"//span[contains(text(),'Preferences')]/.."}(..)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package