Details

      Description

      Test Cases

      Case 1:
      View alert info shown in General panel when add a Collection Filter to page where no Collection Display exist

      1. Add a new site
      2. Add a content page
      3. Add a Collection Filter to page
      4. Click the body of Collection Filter > General tab
      5. View the following alert info shown in General panel
        • Display a collection on the page that support at least one filter type.

      Case 2:
      View alert info shown in General panel when add a Collection Filter to page where the Collection Display doesn't support filtering

      1. Add a new site
      2. Add three web contents
      3. Add a content page
      4. Add a Collection Display to page
      5. Select the Highest Rated Assets collection provider in Collection Display
      6. Add a Collection Filter above the Collection Display
      7. Click the body of Collection Filter > General tab
      8. View the following alert info shown in General panel
        • Display a collection on the page that support at least one filter type.

      Case 3:
      View alert info shown in dropdown menu when select multiple target collections with filters in common

      1. Add a new site
      2. Add three web contents named Tesla Model X, Tesla Model Y and Tesla Model 3
      3. Add three blogs entries named Levis 501, Levis 511 and Levis 510
      4. Add the first dynamic collection for Web Content Article and Basic Web Content
      5. Add the second dynamic collection for Blogs Entry
      6. Add a content page
      7. Add a Grid to page
      8. Change the Number of Modules to 2
      9. Add one Collection Display to each module
      10. Select the first dynamic collection in the first Collection Display
      11. Select the Bordered List as List Style
      12. Select the second dynamic collection in the second Collection Display
      13. Select the Bordered List as List Style
      14. Add a Collection Filter above the Grid
      15. Click the body of Collection Filter > General tab
      16. Click the trigger button of Target Collection
      17. View the following alert info shown in Collection Display
        • Multiple selection must have at least one filter in common.
      18. Select both collections as Target Collection
      19. Select Keywords as Filter
      20. Open the Preview Mode
      21. View all web contents and blogs entries are shown in Collection Display
      22. Search Levis in Collection Filter
      23. View No Results Found shown in the first Collection Display
      24. View the blogs entries shown in the second Collection Display
      25. Close the Preview mode
      26. Publish the page
      27. Navigate to the content page at view mode
      28. View all web contents and blogs entries are shown in Collection Display
      29. Search Tesla in Collection Filter
      30. View the web contents shown in the first Collection Display
      31. View No Results Found shown in the second Collection Display

      Case 4:
      View alert info shown when change the selected collection in Collection Display

      1. Add a new site
      2. Add three web contents
      3. Add three blogs entries
      4. Add the first dynamic collection for Web Content Article and Basic Web Content
      5. Add the second dynamic collection for Blogs Entry
      6. Add a content page
      7. Add a Collection Display to page
      8. Select the first dynamic collection in Collection Display
      9. View three web contents shown in Collection Display
      10. Add a Collection Filter above the Collection Display
      11. Select the first dynamic collection as Target Collection
      12. Select the Keywords as Filter
      13. Click the body of Collection Display > General
      14. Click the change icon
      15. View the following alert info shown on popup
        • If you change the collection, you unlink the collection filter. Do you want to continue?
      16. Accept the alert
      17. Select the second dynamic collection
      18. View three blogs entries shown in Collection Display
      19. Click the body of Collection Filter > General
      20. View no collection is selected in Targat Collection

      Case 5:
      View alert info shown in dropdown menu when select multiple target collections without filters in common

      1. Enable the Basic Document collection provider only support category filter via gogo shell
        • scr:enable com.liferay.document.library.web.internal.info.collection.provider.BasicDocumentSingleFormVariationInfoCollectionProvider
      2. Enable the Basic Web Content collection provider only support keywords filter via gogo shell
        • scr:enable com.liferay.journal.web.internal.info.collection.provider.BasicWebContentSingleFormVariationInfoCollectionProvider
      3. Add a new site
      4. Add a vocabulary named Type
      5. Add two categories SUV and Car
      6. Add three web contents named Tesla Model X, Tesla Model Y, Tesla Model 3
      7. Add three documents named BMW X1 with SUV, BMW X3 with SUV, BMW X5 with SUV
      8. Add a content page
      9. Add a Grid to page
      10. Change the Number of Modules to 2
      11. Add one Collection Display to each module
      12. Select the Basic Web Content collection provider in the first Collection Display
      13. Select the Bordered List as List Style
      14. View three web contents shown in the first Collection Display
      15. Select the Basic Document collection provider in the second Collection Display
      16. Select the Bordered List as List Style
      17. View three documents shown in the second Collection Display
      18. Add a Collection Filter above the Grid
      19. Click the body of Collection Filter > General tab
      20. Click the trigger button of Target Collection
      21. View the following alert info shown in Collection Display
        • Multiple selection must have at least one filter in common.
      22. Select the Basic Web Content as Target Collection
      23. View the checkbox of Basic Document collection provider is disabled
      24. Select Keywords as Filter
      25. Click the trigger button of Target Collection
      26. View the following alert info shown in Collection Display
      27. Deselect the Basic Web Content
      28. Select the Basic Document as Target Collection
      29. View the checkbox of Basic Web Content collection provider is disabled
      30. Select Category as Filter
      31. Select the Type vocabulary as Source

      Case 6:
      View no results found when no matched collection items in Collection Display

      1. Add a new site
      2. Add a vocabulary named Type
      3. Add four categories SUV, Car, Truck and Hatchback
      4. Add three web contents named Tesla Model X with Car, Tesla Model Y with SUV, Tesla Model 3 with Car
      5. Add a dynamic collection for All types
      6. Add the first content page
      7. Add a Collection Display to page
      8. Select the dynamic collection in Collection Display
      9. Add a Heading fragment into Collection Display
      10. Map the Title field to editable field
      11. Add a Collection Filter above the Collection Display
      12. Select the dynamic collection as Target Collection
      13. Select the Keywords as Filter
      14. Open the Preview mode
      15. View title of three web contents are shown in Collection Display
      16. Search Toyota in Collection Filter
      17. View No Results Found shown in Collection Display
      18. Close the modal
      19. Publish the page
      20. Navigate to the page at view mode
      21. View title of three web contents are shown in Collection Display
      22. Search BMW in Collection Filter
      23. View No Results Found shown in Collection Display
      24. Add the second content page
      25. Add a Collection Display to page
      26. Select the dynamic collection in Collection Display
      27. Select the Bordered List as List Style
      28. Add a Collection Filter above the Collection Display
      29. Select the dynamic collection as Target Collection
      30. Select the Category as Filter
      31. Select the Type vocabulary
      32. Open the Preview mode
      33. View title of three web contents are shown in Collection Display
      34. Select the Truck in Collection Filter
      35. View No Results Found shown in Collection Display
      36. Close the modal
      37. Publish the page
      38. Navigate to the second page at view mode
      39. View title of three web contents are shown in Collection Display
      40. Select the Hatchback in Collection Filter
      41. View No Results Found shown in Collection Display

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package