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

Add error check to job application testers

    Details

      Description

      Minor adjustment to the job application portlet tester to prevent error when there is a failure to navigate to edit mode.

      Steps to reproduce:
      1. deploy a WSRP consumer of the jsf2-portlet (which currently fails to navigate to edit mode)
      2. Run the jsf2-portlet tester

      Expected results:

      Failed tests:   preferencesAndEditMode(com.liferay.faces.test.Jsf2PortletTest): datePatternField should be visible after selecting edit mode, but //input[contains(@id,':datePattern')] is not visible.
      ... snipped for brevity ...
      Tests run: 11, Failures: 5, Errors: 0, Skipped: 0

      Actual results:

      Tests in error: 
        preferencesAndEditMode(com.liferay.faces.test.Jsf2PortletTest): Unable to locate element: {"method":"xpath","selector":"//input[contains(@id,':datePattern')]"}(..)
      
      Tests run: 11, Failures: 4, Errors: 1, Skipped: 0

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                liferay-faces-2.1.5-ga6
                liferay-faces-2.2.5-ga6
                liferay-faces-3.0.5-legacy-ga6
                liferay-faces-3.0.5-ga6
                liferay-faces-3.1.5-ga6
                liferay-faces-3.2.5-ga6
                liferay-faces-4.2.5-ga6