Details

      Description

      Bugs:

       - PASS
       - To Do
       - FAIL

      • Impeditive:
        Ticket Title QA Status
        LPS-138085 Can not type in search bar of collection filter in display page
        LPS-137909 Category filter doesn't display any collection when trying to select one
        LPS-138101 Collection filter doesn't filter in collection provider
      • Not impeditive:
        Ticket Title QA Status
        ? ?

      Test Cases

      Case1 :

      Collection Filters with text works in content page

      1. Enable collection filter fragment with this gogoshell command:
        "scr:enable com.liferay.fragment.renderer.collection.filter.internal.CollectionFilterFragmentRenderer"
      2. Add a blog, fill blog content as content
      3. Add a web content with text > title : Web Content Title content: web content content
      4. Add a dynamic collection with all types
      5. Add a content page and a collection display to page
      6. Select the created collection
      7. Add a content diplay fragment to collection display
      8. Add a collection filter to page
      9. Select created collection as Target Collection
      10. Select Keywords for Filter
      11. Publish content page
      12. Search Web
      13. Assert only web content displays

      Case 2:

      There's warining in collection filter fragment when no collection in page

      1. Enable collection filter fragment with this gogoshell command:
        "scr:enable com.liferay.fragment.renderer.collection.filter.internal.CollectionFilterFragmentRenderer"
      2. Add a content page
      3. Add a collection filter to page
      4. Assert there's a warning message indicates to the user that the filter will not work unless the user select a target collections and filter criteria it could apply.

      Case3:

      Collection Filters with category works in display page template

      1. Enable collection filter fragment with this gogoshell command:
        "scr:enable com.liferay.fragment.renderer.collection.filter.internal.CollectionFilterFragmentRenderer"
      2. Add a web content with category > category name
      3. Add a second web content without any category
      4. Add a manual collection and select the created web contents
      5. Add a display page
      6. Add a collection display fragment to display page template
      7. Add a conent display fragment to collection display fragment 
      8. Add a collection filter to page
      9. Select created collection as Target Collection
      10. Select Category for Filter
      11. Select the created category
      12. Publish display page template
      13. Edit first web content and set the created DPT as display page template
      14. Publish and click View Content
      15. Search category name
      16. Assert only the first web content displays

       
      Case4:

      Collection Filters with text works in content page template

      1. Enable collection filter fragment with this gogoshell command:
        "scr:enable com.liferay.fragment.renderer.collection.filter.internal.CollectionFilterFragmentRenderer"
      2. Add a blog with title blog title
      3. Add a web content with title web content title
      4. Add a content page template
      5. Add a collection display fragment to display page template
      6. Select Collection Providers > Recent Content
      7. Add a dynamic collection with all types
      8. Add a content display fragment to collection display fragment
      9. Add a collection filter to page
      10. Select Recent Content collection as Target Collection
      11. Selected the created collection as Target Collection
      12. Select Keywords for Filter
      13. Publish page template
      14. Add a content page basing on created page template
      15. Publish content page
      16. Search web content title
      17. Assert only web content displays

      Case5:

      Can switch from different collections with different Collection Filters

      1. Enable collection filter fragment with this gogoshell command:
        "scr:enable com.liferay.fragment.renderer.collection.filter.internal.CollectionFilterFragmentRenderer"
      2. Add a blog with title blog title
      3. Add a web content with title web content title
      4. Add a dynamic collection, Item Type selected with Blog Entry
      5. Add a second dynamic collection, Item Type selected with Web Content Article > Basic Web Content
      6. Add a content page and a collection display to page
      7. Select the first created collection
      8. Add a conent display fragment to collection display fragment 
      9. Add a second collection display to page
      10. Select the second created collection
      11. Add a conent display fragment to the second collection display fragment 
      12. Add a collection filter to page
      13. Select the first collection as Target Collection
      14. Search for title
      15. Assert only blog displays
      16. Edit content page and Select the first collection as Target Collection
      17. Search for title
      18. Assert only web content displays
      19. Edit content page and Select the both collections as Target Collection
      20. Search for title
      21. Assert blog and web content display

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              david.gutierrez David Gutiérrez Mesa
              Reporter:
              david.gutierrez David Gutiérrez Mesa
              Recent user:
              Lu Liu
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package