Details

      Description

      Bugs:

       - PASS
       - To Do
       - FAIL

      • Impeditive:
        Ticket Title QA Status
        ? ?
      • Not impeditive:
        Ticket Title QA Status
        ? ?

      Test Cases

      Case1 :

      Can search text inside a Collection Display fragment with Keywords in Filter fragment

      1. Enable collection filter fragment with this gogoshell command:
        "scr:enable com.liferay.fragment.renderer.collection.filter.internal.CollectionFilterFragmentRenderer"
      2. Add a blank site
      3. Add a blog, fill blog content as content
      4. Add a web content with text > title : Web Content Title content: web content content
      5. Add a dynamic collection with all types
      6. Add a content page and a collection display to page
      7. Select the created collection
      8. Add a content display fragment to collection display
      9. Add a collection filter to page
      10. Select created collection as Target Collection
      11. Select None for Filter
      12. Publish content page
      13. Assert no results
      14. Edit content page and Select Keywords for Filter
      15. Click the Preview button
      16. Search web
      17. Assert only web content displays
      18. Publish content page
      19. Search web
      20. Assert only web content displays
      21. Edit content page and Select Keywords for Filter
      22. Click the Preview button
      23. Search content
      24. Assert web content and blog display
      25. Publish content page
      26. Search content
      27. Assert web content and blog display

      Case2 :

      Can not search text not in a Collection Display fragment with Keywords in Filter fragment

      1. Enable collection filter fragment with this gogoshell command:
        "scr:enable com.liferay.fragment.renderer.collection.filter.internal.CollectionFilterFragmentRenderer"
      2. Add a blank site
      3. Add 2 basic web contents and 1 blog
      4. Add a dynamic collection with Web Content Article and Basic Web Content
      5. Add a content page and add a collection display
      6. Select the created collection as Collection
      7. Add a content display collection display
      8. Add a collection filter
      9. Select the created collection as target collection
      10. Select keywords for the filter
      11. Click the Preview button
      12. Search the content/title in blog
      13. Assert no results
      14. Publish the page and search the content/title in blog
      15. Publish content page
      16. Assert no results

      Case3 :

      Can search text inside a Collection Display fragment with multiple keywords in Filter fragment

      1. Enable collection filter fragment with this gogoshell command:
        "scr:enable com.liferay.fragment.renderer.collection.filter.internal.CollectionFilterFragmentRenderer"
      2. Add a blank site
      3. Add a basic web content with title : web title 1, content: dessert
      4. Add a basic web content with title : web title 2, content: main dish
      5. Add a document 1 with descrition> dessert
      6. Add a document 2 with descrition> main dish
      7. Add a dynamic collection with all types
      8. Add a content page and a collection display to page
      9. Select the created collection
      10. Add a content diplay fragment to collection display
      11. Add a collection filter to collection display
      12. Select created collection as Target Collection
      13. Select Keywords for Filter
      14. Add a second collection filter to collection display
      15. Select created collection as Target Collection
      16. Select Keywords for Filter
      17. Click the Preview button
      18. Search dessert in first collection filter
      19. Assert web title 1 and document 1 display
      20. Also search main dish in second collection filter
      21. Assert document 1, document 2 and web title 1 and web title 2 display
      22. Publish content page
      23. Search dessert in first collection filter
      24. Assert web title 1 and document 1 display
      25. Also search main dish in second collection filter
      26. Assert document 1, document 2 and web title 1 and web title 2 display

        Attachments

          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