Details

      Description

      Test scenarios

      Test Scenarios Test Strategy Kind of test Is it covered by FrontEnd ? (JS-Unit) Is it covered by BackEnd ? (unit or integration) Could it be covered by POSHI?
      Can search text inside a Collection Display fragment with Keywords in Filter fragment CRITICAL Manual No  No Yes
      Can not search text not in a Collection Display fragment with Keywords in Filter fragment HIGH Manual No  No Yes
      Can search text inside a Collection Display fragment with multiple keywords in Filter fragment HIGH Manual No No Yes

      Test Case

      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 Display fragment to Collection Display
      11. Add a Grid above the Collection Display
      12. Change the Number of Modules to 2
      13. Add the first Collection filter to the first module
      14. Select created collection as Target Collection
      15. Select Keywords for Filter
      16. Add the second Collection filter to the second module
      17. Select created collection as Target Collection
      18. Select Keywords for Filter
      19. Click the Preview button
      20. Search dessert in first collection filter
      21. Assert web title 1 and document 1 display
      22. Also search main dish in second collection filter
      23. Assert document 1, document 2 and web title 1 and web title 2 display
      24. Publish content page
      25. Search dessert in first collection filter
      26. Assert web title 1 and document 1 display
      27. Also search main dish in second collection filter
      28. Assert document 1, document 2 and web title 1 and web title 2 display

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package