-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: bridge-impl-3.0.0, bridge-impl-4.0.0
-
Fix Version/s: bridge-impl-3.1.0, bridge-impl-4.1.0
-
Component/s: Liferay Faces Bridge Impl / Demos / Tests
-
Labels:None
The IceFacesApplicantPortletTester.java class does not have a getUploadedFileXpath() method and therefore uses the default value from BridgeApplicantPortletTester.java:
ApplicantTesterBase.java
protected String getUploadedFileXpath() { return "//tr[@class='portlet-section-body results-row']/td[2]"; }
For ace:dataTable, a method similar to the following should be added:
IceFacesApplicantPortletTester.java
@Override protected String getUploadedFileXpath() { return "//tr[@class='ui-datatable-even']/td[2]"; }
Steps to Reproduce:
1. Deploy the icefaces-applicant-portlet demo with ICEfaces 4.2.0 or 4.2.0-SNAPSHOT to Liferay Portal 7.0
2. Run the integration test:
mvn clean verify -P selenium,liferay,chrome -Dit.test=*IceFaces*
Expected Results:
All tests pass.
Actual Results:
The uploaded file is not detected and the following error appears in the console log output:
Tests in error: IceFacesApplicantPortletTester>ApplicantTesterBase.runApplicantPortletTest_I_FileUpload:286->ApplicantTesterBase.submitFile:471 ยป Timeout