-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: liferay-faces-4.2.5-ga6
-
Fix Version/s: liferay-faces-4.2.5-ga6
-
Component/s: ZZZ: Legacy - Test
-
Labels:None
The jsf2-html5-portlet demo was developed in FACES-1786. It uses the new JSF 2.2 HTML5 Friendly Markup feature in order to render an HTML5 date picker:
<input type="date" jsf:value="#{applicantModelBean.dateOfBirth}" />
Unfortunately this component is not compatible with the way we test for date patterns like "MM/dd/yyyy" with the portlet preferences.
Here is a log of the test failures:
Tests run: 11, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 28.693 sec <<< FAILURE! Results : Tests in error: jobApplicantRenderViewMode(com.liferay.faces.test.Jsf2Html5PortletTest): Unable to locate element: {"method":"xpath","selector":"//div[contains(text(),'You are signed in as')]"}(..) dataEntry(com.liferay.faces.test.Jsf2Html5PortletTest): Unable to locate element: {"method":"xpath","selector":"//input[contains(@id,':firstName')]"}(..) validateEmail(com.liferay.faces.test.Jsf2Html5PortletTest): Unable to locate element: {"method":"xpath","selector":"//input[contains(@id,':emailAddress')]"}(..) preferencesAndEditMode(com.liferay.faces.test.Jsf2Html5PortletTest): Unable to locate element: {"method":"xpath","selector":"//span[contains(text(),'Preferences')]/.."}(..)
- is duplicated by
-
FACES-1841 Integration test failures in jsf2-html5-portlet due to HTML5 elements
-
- Closed
-