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?
      The user could view a warning info in Collection Filter fragment when no collection in page CRITICAL Manual No No Yes
      Collection Filters with category works in display page template HIGH Manual No No Yes
      Can filter different Collection Displays by different Collection Filters MEDIUM Manual No No Yes

      Case 2:
      The user could view a warning info 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 Display a collection on the page so that you can use the collection filter fragment.

      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 vocabulary named Availability
      3. Add two categories named Instock and Sellout
      4. Add the first web content
      5. Add the second web content with Sellout
      6. Add the third web content with Instock
      7. Add a manual collection named Hot Sale for All Types
      8. Add the second and third web contents to the manual collection
      9. Add a display page template for Web Content Article and Basic Web Content
      10. Add a Collection Display fragment to display page template
      11. Select the manual collection in Collection Display
      12. Select the Bordered List in List Style
      13. Add a Collection Filter above the Collection Display
      14. Select manual collection as Target Collection
      15. Select Category for Filter
      16. Select the Availability vocabulary in Source
      17. Add a Heading fragment above the Collection Filter
      18. Map the Title field to editable field
      19. Publish display page template
      20. Edit the first web content
      21. Select the DPT as Specific
      22. View Content
      23. View the title of first web content shown in Heading
      24. View the second and third web contents shown in Collection Display
      25. Select the Instock category in Collection Filter
      26. View the title of first web content shown in Heading
      27. View only the third web content shown in Collection Display

      Case5:
      Can filter different Collection Displays by 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

              brian.chan Brian Chan
              david.gutierrez David Gutiérrez Mesa
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package