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)
      The fragments that not existing in current site will be ignored when import a content page template Sanity Manual No No
      Can export a content page template with custom fragments and import Sanity Manual No No

      Case 4:
      The fragments that not existing in current site will be ignored when import a content page template

      1. Add a page template collection
      2. Click the ellipsis button beside Collections
      3. Click Import action
      4. Select a zip file with content page template containing fragments that are not found in current site
      5. Assert the following specific warning messages are shown in Import popup:
        • Some page templates were imported with warnings.
        • content page template was imported with warnings.
        • Fragment with key fragment-name was ignored because it does not exist.
      6. Assert success message shown
      7. Assert the content page template in zip file shown in collection
      8. Navigate to Page Fragments admin
      9. Import the fragment zip
      10. Assert the imported fragment entry is shown
      11. Navigate to Page Templates admin
      12. Access to imported content page template
      13. Assert the new fragment is not shown

      Case 12:
      Can export a content page template with custom fragments and import

      1. Add a new fragment collection
      2. Add a new fragment
      3. Add a page template collection
      4. Add a content page template
      5. Add the new fragment to content page template
      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. Navigate to Page Fragments admin
      13. Import the new fragment
      14. Navigate to Page Templates admin
      15. Add a page template collection
      16. Click the ellipsis button beside Collections
      17. Click Import action
      18. Select previous zip file
      19. Assert success message shown
      20. Click the title of imported content page template
      21. Assert the new fragment is shown

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            manoel.cyreno Manoel Cyreno
            Recent user:
            Manoel Cyreno
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package