Details

    Description

      Since this story was moved back to development we should review the existing test cases already defined in LPS-135524 just in case they should be updated.

      Test Cases

      Case 1:
      The user could navigate through pages in Collection Display with the Simple pagination

      1. Add a new site
      2. Add 5 web contents
      3. Add 5 blogs entries
      4. Add 5 documents
      5. Add a dynamic collection for All Types
      6. Add a 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 Heading
      11. View the None is selected in Pagniation field
      12. View the Previous and Next buttons not shown in Collection Display
      13. Select the Simple in Pagination field
      14. Select 15 in Maximum Number Of Items field
      15. Select 15 in Maximum Number of Items per Page
      16. View all assets shown in Collection Display
      17. View Previous and Next button are disabled
      18. Select 5 in Maximum Number of Items per Page
      19. View the 5 documents shown in Collection Display
      20. Click the Next button
      21. View only the 5 blogs entries shown in Collection Display
      22. Click the Next button
      23. View only the 5 web contents shown in Collection Display
      24. Click the Preview modal
      25. View only the 5 documents shown in Collection Display
      26. Click the Next button
      27. View only the 5 blogs entries shown in Collection Display
      28. Click the Next button
      29. View only the 5 web contents shown in Collection Display
      30. Close the Preview modal
      31. Publish the content page
      32. Navigate to the content page at view mode
      33. View only the 5 documents shown in Collection Display
      34. Click the Next button
      35. View only the 5 blogs entries shown in Collection Display
      36. Click the Next button
      37. View only the 5 web contents shown in Collection Display

      Case 2:
      The user could navigate through pages in Collection Display with the Numeric pagination

      1. Add a new site
      2. Add 5 web contents
      3. Add 5 blogs entries
      4. Add 5 documents
      5. Add a dynamic collection for All Types
      6. Add a content page
      7. Add a Collection Display to page
      8. Select the dynamic collection in Collection Display
      9. View the None is selected in Pagniation field
      10. View the page number, next and previous buttons not shown in Collection Display
      11. Select the Numeric in Pagination field
      12. Select 15 in Maximum Number Of Items field
      13. Select 15 in Maximum Number of Items per Page
      14. View all assets shown in Collection Display
      15. View only 1 page is shown on pagination
      16. Select 5 in Maximum Number of Items per Page
      17. View only the 5 documents shown in Collection Display
      18. Add a Heading fragment into Collection Display
      19. Map the Title field to Heading
      20. Click the 3 page number button on pagination
      21. View only the 5 web contents shown in Collection Display
      22. Click the previous button
      23. View only the 5 blogs entries shown in Collection Display
      24. Click the Preview modal
      25. View only the 5 documents shown in Collection Display
      26. Click the 2 page number button on pagination
      27. View only the 5 blogs entries shown in Collection Display
      28. Click the next button
      29. View only the 5 web contents shown in Collection Display
      30. Close the Preview modal
      31. Publish the content page
      32. Navigate to the content page at view mode
      33. View only the 5 documents shown in Collection Display
      34. Click the 3 page number button on pagination
      35. View only the 5 web contents shown in Collection Display
      36. Click the previous button
      37. View only the 5 blogs entries shown in Collection Display

      Case 3:
      The user could define the maximum of items per page in Collection Display

      1. Add the search.container.page.max.delta=15 in portal-ext.properties
      2. Start portal
      3. Add a new site
      4. Add 20 web contents
      5. Add a content page
      6. Add a Collection Display to page
      7. Select the Highest Rated Assets in Collection Display
      8. Select the Bordered List in List Style field
      9. View only 5 web contents shown in Collection Display
      10. Select the Numeric in Pagination
      11. View 15 items maximum. shown below the Maximum Number of Items per Page field
      12. Select the 15 in Maximum Number of Items per Page field
      13. View only 5 web contents shown in Collection Display
      14. View only 1 page shown in Collection Display
      15. Select the 20 in Maximum Number Of Items field
      16. View only 15 web contents shown in page 1 of Collection Display
      17. Click the 2 page number button
      18. View other 5 web contents shown in Collection Display
      19. Click the Preview modal
      20. View only 15 web contents shown in Collection Display
      21. Click the 2 page number button
      22. View other 5 web contents shown in Collection Display
      23. Close the Preview modal
      24. Publish the content page
      25. Navigate to the content page at view mode
      26. View only the 5 web contents shown in Collection Display
      27. Click the 2 page number button
      28. View other 5 web contents shown in Collection Display

      Case 4:
      The user could view warning message when defined value exceeds limitation

      1. Add a new site
      2. Add 5 web contents
      3. Add a manual collection for Web Content Article and Basic Web Content
      4. Add 5 web contents into manual collection
      5. Add a content page
      6. Add a Collection Display to page
      7. Select the manual collection in Collection Display
      8. Select the Numeric in Pagination field
      9. Select the 300 in Maximum Number of Items per Page field
      10. View warning message 200 items maximum.Only 200 items will be displayed. shown below the Maximum Number of Items per Page field
      11. Select the 0 in Maximum Number of Items per Page field
      12. View the 0 is shown in Maximum Number of Items per Page field
      13. View warning message Collection Display pagination requries at least one item. shown below the Maximum Number of Items per Page field
      14. Select the 0 in Maximum Number of Items field
      15. View the 0 is shown in Maximum Number of Items field
      16. View warning message Collection Display pagination requries at least one item. shown below the Maximum Number of Items field
      17. Select the 6 in Maximum Number of Items field
      18. View warning message The maximum number of items in this collection is 5. shown below the Maximum Number of Items field

      Case 5:
      The user could select Display All Collection Items in Collection Display with pagination

      1. Add a new site
      2. Add 6 web contents
      3. Add a content page
      4. Add a Collection Display fragment to page
      5. Select the Highest Rated Assets in Collection Display
      6. Select the Numeric in Pagination
      7. View only the 5 web contents shown in Collection Display
      8. View only page 1 shown in Collection Display
      9. View the 5 shown in Maximum Number of Items field
      10. Check the Display All Collection Items
      11. View only 5 web contents shown in page 1 in Collection Display
      12. View the 6 shown in Maximum Number of Items field
      13. Navigate to page 2 in Collection Display
      14. View only 1 web contents shown in page 2 in Collection Display
      15. Select the Simple in Pagination
      16. View only 1 web contents shown in current page in Collection Display
      17. Navigate to the previous page
      18. View only 5 web contents shown in current page in Collection Display
      19. Navigate to Web Content admin
      20. Add one more web content
      21. Navigate to content page at edit mode
      22. View only 5 web contents shown in current page in Collection Display
      23. Navigate to next page in Collection Display
      24. View only 2 web contents shown in current page in Collection Display
      25. Click the body of Collection Display
      26. View the 7 shown in Maximum Number of Items field
      27. Type the 3 in Maximum Number of Items field
      28. View the Display All Collection Items is unchecked
      29. View only 3 web contents shown in current page in Collection Display
      30. View the Previous and Next are disabled in Collection Display

      Case 6:
      Export/import of page definition takes into account new parameters for pagination

      1. Add a new site
      2. Add 5 web contents
      3. Add a dynamic collection for All Types
      4. Add a page template collection
      5. Add a content page template
      6. Add a Collection Display
      7. Select the dynamic collection in Collection Display
      8. Select the Simple in Pagination field
      9. Change the Maximum Number of Items to 4
      10. Change the Maximum Nubmer of Items per Page to 1
      11. View only 4 page shown in Collection Display
      12. View only one web content shown in each page
      13. Publish the content page template
      14. Export the content page template
      15. Delete the page template collection
      16. Import the content page template
      17. Navigate to the content page template in edit mode
      18. View only 4 page shown in Collection Display
      19. View only one web content shown in each page
      20. Click the body of Collection Display
      21. View the Simple is shown in Pagination field
      22. View the 4 is shown in Maximum Number of Items field
      23. View the 1 is shown in Maximum Nubmer of Items per Page field

      Attachments

        Activity

          People

            yang.cao Yang Cao
            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