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

Selenium test failure with the PrimeFaces Users Portlet due to partial matching of query criteria being unsupported by the portal

    Details

      Description

      When running the Selenium integration test for the PrimeFaces Users portlet in Liferay Portal 7.3, the following errors appear in the console log:

           [exec] Tests in error: 
           [exec]   PrimeFacesUsersPortletTester.runPrimeFacesUsersPortletTest_C_UsersFilter:263->filterColumnByText:625 ? Timeout
           [exec]   PrimeFacesUsersPortletTester.runPrimeFacesUsersPortletTest_D_DetailViewErrorMessages:371->filterColumnByFullScreenName:617 ? Timeout
           [exec]   PrimeFacesUsersPortletTester.runPrimeFacesUsersPortletTest_E_DetailViewFileUpload:418->filterColumnByFullScreenName:617 ? Timeout
           [exec]   PrimeFacesUsersPortletTester.runPrimeFacesUsersPortletTest_F_DetailViewChangeUserAttributes:487->filterColumnByFullScreenName:617 ? Timeout 

      This occurs because partial matching of query criteria is unsupported by the portal. According to the comments in the code, partial matching was unimplemented in Liferay Portal 6.2, but was implemented in Liferay Portal 7.0/7.1/7.2. Apparently it is unsupported with 7.3. The fix would be to simply use the 6.2 expectation of full matching for all versions.

        Attachments

          Activity

            People

            Assignee:
            neil.griffin Neil Griffin
            Reporter:
            neil.griffin Neil Griffin
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                portal-3.0.5