Details

    • Type: Technical Testing
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Page Templates
    • Labels:
      None

      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)
      Can export a content page template in draft status when it has published version and only the published version is exported Sanity Manual No No
      Can not export multiple selected content page templates when one of them doesn't have published version Sanity Manual No No
      Can not export multiple selected page templates if one of them is widget page template Sanity Manual No No
      Can export a content page template based on custom master and import Sanity Manual No No
      Can export a content page template with the custom Look and Feel and import Sanity Manual No No

      Test Cases

      Case 3:
      Can export a content page template in draft status when it has published version and only the published version is exported

      1. Add a page template collection
      2. Add a content page template
      3. Add a Heading fragment
      4. Edit inline content
      5. Publish it
      6. Back to Page Templates admin
      7. Assert the content page template has Approved label
      8. Edit content page template
      9. Edit inline content of Heading
      10. Don't Publish
      11. Back to Page Templates admin
      12. Assert the content page template has draft label
      13. Click the ellipsis button
      14. Click Export action
      15. Assert success message shown
      16. Add a new site
      17. Add a page template collection
      18. Click the ellipsis button beside Collections
      19. Click Import action
      20. Select previous zip file
      21. Assert success message shown
      22. Click the title of imported content page template
      23. Assert the published version is shown

      Case 5:
      Can not export multiple selected content page templates when one of them doesn't has published version

      1. Add a page template collection
      2. Add the first content page template and publish
      3. Add the second content page template and don't publish
      4. Back to Page Templates admin
      5. Select both
      6. Assert the export button is shown on the right upper corner
      7. Assert the export button is disabled

      Case 6:
      Can not export multiple selected page templates if one of them is widget page template

      1. Add a page template collection
      2. Add a content page template and publish
      3. Add a widget page template
      4. Back to Page Templates admin
      5. Select both
      6. Assert the export button is shown on the right upper corner
      7. Assert the export button is disabled

      Case 12:
      Can export a content page template based on custom master and import

      1. Add a custom master named Custom Master Page Template
      2. Add a Heading fragment to master
      3. Add a page template collection
      4. Add a content page template based on custom master
      5. Assert the Heading fragment is shown
      6. Publish the content page template
      7. Back to Page Templates admin
      8. Click the ellipsis button
      9. Click Export action
      10. Assert success message shown
      11. Add a new site
      12. Add a custom master also named Custom Master Page Template
      13. Add a Button fragment to master
      14. Add a page template collection
      15. Click the ellipsis button beside Collections
      16. Click Import action
      17. Select previous zip file
      18. Assert success message shown
      19. Click the title of imported content page template
      20. Assert the Button fragment is shown
      21. Click the Look and Feel button from sidebar
      22. Assert Custom Master Page Template is shown in Master section

      Case 13:
      Can export a content page template with the custom Look and Feel and import

      1. Add a page template collection
      2. Add a content page template
      3. Click the Look and Feel from sidebar
      4. Check Define a specific look and feel for this page.
      5. According to the following settings:
        • Switch Show Header to No
        • Switch Show Maximize/Minimize Application Links to Yes
        • Switch Wrap Widget Page Content to No
        • Switch Show Header Search to No
        • Switch Show Footer to No
      6. Publish the content page template
      7. Back to Page Templates admin
      8. Click the ellipsis button
      9. Click Export action
      10. Assert success message shown
      11. Add a new site
      12. Add a page template collection
      13. Click the ellipsis button beside Collections
      14. Click Import action
      15. Select previous zip file
      16. Assert success message shown
      17. Click the title of imported content page template
      18. Click the Look and Feel button from sidebar
      19. Assert above settings are shown

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            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