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

      - PASS
      - To Do
      - FAIL

      • Impeditive:
        Ticket Title QA Status
        ? ?
        LPS-110789 The imported content page template has Draft label Verified
        LPS-110790 Should show success message when import content page template with fragments that are not found in current site Verified
        LPS-110793 The edited inline content of HTML is not imported Verified
        LPS-110792 The image description is not imported with content page template Verified
        LPS-110794 The thumbnail of content page template can not be imported Verified
      • Not impeditive:
        Ticket Title QA Status
        ? ?
         LPS-110800  The Look and Feel settings in file are inconsistent with in portal when content page template based on custom master  Verified
        LPS-110791 The name of archive file is inconsistent with in portal when rename the content page template before export Verified

      Test Cases

      Case 1
      Can import a zip file with single content page template to page templates collection

      1. Add a page template collection
      2. Click the ellipsis button beside Collections
      3. Click Import action
      4. Select a zip file with single content page template containing contributed fragments
      5. Assert success message shown
      6. Assert the content page template in zip file shown in collection
      7. Assert the imported content page template has Approved label

      Case 2:
      Can import a zip file with multiple content page templates to page templates collection

      1. Add a page template collection
      2. Click the ellipsis button beside Collections
      3. Click Import action
      4. Select a zip file with multiple content page templates containing contributed fragments
      5. Assert success message shown
      6. Assert all of content page templates in zip file shown in collection
      7. Assert each of the imported content page templates has Approved label

      Case 3:
      When import a content page template, the contributed fragments from zip file also be imported

      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 contributed fragments
      5. Assert success message shown
      6. Click the title of imported content page template
      7. Assert the fragments from zip file are shown in content page template

      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 5:
      When import a content page template, the layout elements and nested elements from zip file also be imported

      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 the following composition:
        • The Section containing Heading
        • The Row containing Button
      5. Assert success message shown
      6. Click the title of imported content page template
      7. Assert the above composition are shown in content page template

      Case 6:
      When import a content page template, the edited inline content of fragments from zip file also be imported

      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 the following edited inline contents:
        • Heading with edited text
        • HTML with edited content
        • Image with image and image description
      5. Assert success message shown
      6. Click the title of imported content page template
      7. Assert the above edited inline contents shown in content page template

      Case 7:
      When import a content page template, the custom configuration settings of fragments from zip file also be imported

      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 the following custom configuration settings of Heading and Section:
        • Section with background image
        • Heading Level as H2
        • Text Align as Center
        • Bottom Spacing as 1
        • Text Color as Red
      5. Assert success message shown
      6. Click the title of imported content page template
      7. Assert the above custom configuration settings of Heading and Section shown in content page template

      Case 8:
      When import a content page template, the custom Look and Feel of it should also be imported

      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 the following custom Look and Feel:
             "themeSettings" : {
              "lfr-theme:regular:show-header" : "false",
              "lfr-theme:regular:show-maximize-minimize-application-links" : "true",
              "lfr-theme:regular:wrap-widget-page-content" : "false",
              "lfr-theme:regular:show-header-search" : "false",
              "lfr-theme:regular:show-footer" : "false"
            }
        
      1. Assert success message shown
      2. Click the title of imported content page template
      3. Click the Look and Feel button from sidebar
      4. Assert above settings are shown

      Case 9:
      When import a content page template with the Fjord theme, the imported one should be also based on Fjord theme that is available theme in current site

      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 with the Fjord theme
      5. Assert success message shown
      6. Click the title of imported content page template
      7. Click the Look and Feel button from sidebar
      8. Assert the theme settings is Fjord

      Case 10:
      Can import a content page template based on custom master to page templates collection

      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 based on custom master
      5. Assert success message shown
      6. Assert the content page template in zip file shown in collection
      7. Assert the imported content page template has Approved label

      Case 11:
      When import a content page template with thumbnail, the thumbnail should also be imported

      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 with thumbnail
      5. Assert success message shown
      6. Assert the content page template in zip file shown in collection
      7. Assert the imported content page template has Approved label
      8. Assert the thumbnail is shown in the card of content page template

        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