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

AlloyApplicantPortletTester "all fields required" selenium test intermittent failure with Liferay DXP 7.4

Details

    Description

      Problem Background

      When running the AlloyApplicantPortletTester with Liferay DXP 7.4 U16 with the 5.x version of the bridge (Portlet 3.0 + JSF 2.2), an intermittent org.openqa.selenium.TimeoutException would get thrown in the runApplicantPortletTest_E_AllFieldsRequired() method when the submit button was clicked (which happens just after all the fields were cleared). This problem was not reproducible manually - it only happened during automated testing via Selenium.

      Workaround

      Since this was judged to not be a software defect in the bridge, the workaround was to surround the button click with a try...catch block. If a TimeoutException happened, then the button was simply clicked again.

      Attachments

        Activity

          People

            neil.griffin Neil Griffin
            neil.griffin Neil Griffin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package
                bridge-impl-5.0.0
                bridge-impl-6.0.0
                bridge-impl-4.3.0