Details

      Description

      Test Cases

      Case 1
      Can filter the results of a collection page based on dynamic collection via selecting single category

      1. Add a vocabulary
      2. Add a category
      3. Add a web content based on Basic Web Content without category
      4. Add a web content based on Basic Web Content with category
      5. Add a blogs entry without category
      6. Add a blogs entry with category
      7. Add a document based on Basic Document without category
      8. Add a document based on Basic Document with category
      9. Add a dynamic collection
      10. Select All Types as Item Type
      11. Add a collection page based on dynamic collection
      12. Select 6 as Max Number of Items
      13. Select Bordered List as List Style
      14. Select Title as List Item Style
      15. Add a Collection Category Filter above the Container
      16. Click the body of Collection Category Filter > General tab
      17. Click the plus of Source field > Click the vocabulary > Select This Level
      18. Assert the vocabulary name is shown in Collection Category Filter
      19. Click the Preview button
      20. Assert all assets are shown in preview modal
      21. Select the category in Select field
      22. Assert the category name is shown in Select field
      23. Assert only 3 assets with category are shown in preview modal
      24. Close the preview modal
      25. Publish the page
      26. Navigate to the page in view mode
      27. Assert all assets are shown in page
      28. Select the category in Select field
      29. Assert only 3 assets with category are shown in page
      30. Assert the category name is shown in Select field

      Case 2
      Can filter the results of a collection page based on dynamic collection via selecting multiple subcategories in one filter

      1. Add a vocabulary
      2. Add a category
      3. Add three subcategories in category
      4. Add a web content based on Basic Web Content without category
      5. Add a web content based on Basic Web Content with first subcategory
      6. Add a Blogs entry without category
      7. Add a Blogs entry with second subcategory
      8. Add a document based on Basic Document without category
      9. Add a document based on Basic Document with third subcategory
      10. Add a dynamic collection
      11. Select All Types as Item Type
      12. Add a collection page based on dynamic collection
      13. Select 6 as Max Number of Items
      14. Add a Heading fragment into Collection Display
      15. Map the Title field to editable field
      16. Add a Collection Category Filter above the Container
      17. Click the body of Collection Category Filter > General tab
      18. Click the plus of Source field > Click the vocabulary > Click the category > Select This Level
      19. Assert the category name is shown in Collection Category Filter
      20. Check Multiple Selection
      21. Click the Preview button
      22. Assert all assets are shown in preview modal
      23. Click the Select field
      24. Check the first subcategory in Select field
      25. Assert only the web content with subcategory is shown in preview modal
      26. Assert the subcategory name is shown in Select field
      27. Click the Select field
      28. Check the first and second subcategory in Select field
      29. Assert only the web content and blogs entry with subcategory are shown in preview modal
      30. Assert the 2 selected is shown in Select field
      31. Click the Select field
      32. Check all subcategories in Select field
      33. Assert only 3 assets with subcategory are shown in preview modal
      34. Assert the 3 selected is shown in Select field
      35. Close the preview modal
      36. Publish the page
      37. Navigate to the page in view mode
      38. Assert all assets are shown in page
      39. Click the Select field
      40. Check the first subcategory in Select field
      41. Assert only the web content with subcategory is shown in page
      42. Assert the subcategory name is shown in Select field
      43. Click the Select field
      44. Check the first and second subcategory in Select field
      45. Assert only the web content and blogs entry with subcategory are shown in page
      46. Assert the 2 selected is shown in Select field
      47. Click the Select field
      48. Check all subcategories in Select field
      49. Assert only 3 assets with subcategory are shown in page
      50. Assert the 3 selected is shown in Select field

      Case 3
      Can filter the results of a collection page based on dynamic collection via selecting multiple categories in multiple filters

      1. Add two vocabularies
      2. Add a category in the first vocabulary
      3. Add a category in the second vocabulary
      4. Add a web content based on Basic Web Content with category from the first vocabulary
      5. Add a web content based on Basic Web Content with both categories
      6. Add a Blogs entry with category from the first vocabulary
      7. Add a Blogs entry with both categories
      8. Add a document based on Basic Document with category from the first vocabulary
      9. Add a document based on Basic Document with both categories
      10. Add a dynamic collection
      11. Select All Types as Item Type
      12. Add a collection page based on dynamic collection
      13. Select 6 as Max Number of Items
      14. Select Inline List as List Style
      15. Select Title as List Item Style
      16. Add a Grid above the Container
      17. Change the Number of Modules to 2
      18. Add a Collection Category Filter into the first module
      19. Click the body of Collection Category Filter > General tab
      20. Click the plus of Source field > Click the first vocabulary > Select This Level
      21. Assert the vocabulary name is shown in Collection Category Filter
      22. Add a Collection Category Filter into the second module
      23. Click the body of Collection Category Filter > General tab
      24. Click the plus of Source field > Click the second vocabulary > Select This Level
      25. Assert the vocabulary name is shown in Collection Category Filter
      26. Check the Multiple Selection
      27. Click the Preview button
      28. Assert all assets are shown in preview modal
      29. Select the category in left Select field
      30. Assert all assets are shown in preview modal
      31. Assert the category name is shown in left Select field
      32. Click the right Select field
      33. Check the category in Select field > Apply
      34. Assert only 3 assets with both categories are shown in preview modal
      35. Assert the category name is shown in right Select field
      36. Close the preview modal
      37. Publish the page
      38. Navigate to the page in view mode
      39. Assert all assets are shown in page
      40. Assert the category name is shown in left Select field
      41. Click the right Select field
      42. Check the category in Select field > Apply
      43. Assert only 3 assets with both categories are shown in page
      44. Assert the category name is shown in right Select field

        Attachments

          Activity

            People

            Assignee:
            david.gutierrez David Gutiérrez Mesa
            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