Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
bridge-impl-5.0.0
-
None
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.