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

Integration test for the primefaces-users-portlet fails on Liferay Portal 6.2 + JBoss AS7

    Details

      Description

      Steps to Reproduce

      1. Start Liferay Portal 6.2 EE SP15 on JBoss AS7

      2. Deploy the primefaces-users-portlet from the 2.x branch of the liferay-faces-portal.git repository

      3. Run the integration tests:

      cd liferay-faces-portal-2.x/test/integration/demos/portal/primefaces-users-portlet
      mvn -P integration clean test
      

      Expected Results:

      The tests pass with zero failures.

      Actual Results:

      The following error appears in the terminal:

      Tests in error: 
        changeUserAttributes(com.liferay.faces.test.PrimefacesUsersPortletTest): Unable to locate element: {"method":"xpath","selector":"//span[contains(@id,':firstNameCell') and text()='Aa']"}(..)
        deactivateUser(com.liferay.faces.test.PrimefacesUsersPortletTest): Unable to locate element: {"method":"xpath","selector":"//a[contains(@href,'mailto:') and contains(text(), 'john.adams@liferay.com')]"}(..)
      
      Tests run: 9, Failures: 0, Errors: 2, Skipped: 0
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:

                Subcomponents