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

Integration test failure when trying to detect 'Mojarra' in the rendered markup on WebLogic 12c (12.1.x)

    Details

      Description

      Problem Background

      On WebLogic, the product title for JSF is "JavaServer Faces Reference Implementation" and not "Mojarra" which causes an integration test failure in all of the applicant portlets.

      Steps to Reproduce

      1. Deploy Liferay Portal 6.2 EE SP15 in WebLogic 12c (either 12.1.2.0 or 12.1.3.0)

      2. Deploy the jsf-applicant-portlet

      3. View the jsf-applicant-portlet portal page

      4. Observe that the first bullet in the list of detected products looks something like the following:

      JavaServer Faces Reference Implementation 2.1.29-08 Wed May 20 14:18:51 IST 2015 2.1.29.08
      

      5. Execute the integration tests for the jsf-applicant-portlet

      Expected Results

      All tests pass and there are no failures in the test log.

      Actual Results

      The following failure occurs in the test log:

      Results :
      
      Tests in error: 
        jobApplicantRenderViewMode(com.liferay.faces.test.JsfApplicantPortletTest):
      Unable to locate element: {"method":"xpath","selector":"//*[contains(text(),'Mojarra')]"}(..)
      
      Tests run: 11, Failures: 0, Errors: 1, Skipped: 0
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:

                Subcomponents