Details

    • Type: Technical Testing
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Page Templates
    • Labels:
      None
    • Sprint:
      S01E04 - Turtles Swamp, S01E05 - Flowers Rebellion, S01E06 - Trip to Canada

      Description

      Bugs found:

      - PASS
      - To Do
      - FAIL

      • Impeditive:
        Ticket Title QA Status
        ? ?
        LPS-110143 The edited inline content of fragments should be exported with content page template Verified
      • Not impeditive:
        Ticket Title QA Status
        ? ?
        LPS-110144 Can not set configuration of Heading fragment in page templates Verified
        LPS-110138 The content page template should be draft status if it is never published Verified

      Test Cases

      Case 1
      Can not export a content page template when it doesn't has published version

      1. Add a page template collection
      2. Add a content page template
      3. Don't Publish
      4. Back to Page Templates admin
      5. Assert the content page template has draft label
      6. Click the ellipsis button
      7. Assert the Export action is disabled

      Case 2:
      Can export a content page template in approved status

      1. Add a page template collection
      2. Add a content page template
      3. Publish it
      4. Back to Page Templates admin
      5. Assert the content page template has Approved label
      6. Click the ellipsis button
      7. Click Export action
      8. Assert success message shown

      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. Publish it
      4. Back to Page Templates admin
      5. Assert the content page template has Approved label
      6. Edit content page template
      7. Add a Heading fragment
      8. Don't Publish
      9. Back to Page Templates admin
      10. Assert the content page template has draft label
      11. Click the ellipsis button
      12. Click Export action
      13. Assert success message shown
      14. Unzip
      15. Open page-definition.json file
      16. Assert data of Heading fragment is not included in file

      Case 4:
      Can export multiple selected content page templates in approved status

      1. Add a page template collection
      2. Add two content page templates and publish
      3. Assert they have approved label
      4. Select both
      5. Assert the export button is shown on the right upper corner
      6. Click the export button
      7. Assert success message 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 7:
      When export a content page template, the reference of fragments, widgets and theme should also be exported.

      1. Add a page template collection
      2. Add a content page template
      3. Add a Heading fragment and an AP widget
      4. Publish the content page template
      5. Back to Page Templates admin
      6. Click the ellipsis button
      7. Click Export action
      8. Assert success message shown
      9. Unzip
      10. Open page-definition.json file
      11. Assert the Heading object is included in file
      12. Assert the AP object is included in file
      13. Assert the theme attribute and value is included in file

      Case 8:
      When export a content page template, the layout elements and nested elements should also be exported.

      1. Add a page template collection
      2. Add a content page template
      3. Add a Section fragment
      4. Add a Heading fragment into Section
      5. Add a Row fragment below the Section
      6. Add an AP widget to column of Row
      7. Publish the content page template
      8. Back to Page Templates admin
      9. Click the ellipsis button
      10. Click Export action
      11. Assert success message shown
      12. Unzip
      13. Open page-definition.json file
      14. Assert data of Section and Heading fragment is in file
      15. Assert data of Row and AP widget is in file

      Case 9:
      When export a content page template, the changes for inline content of fragments should also be exported.

      1. Add a page template collection
      2. Add a content page template
      3. Add a Heading fragment
      4. Edit the text of editable field
      5. Add an Image fragment
      6. Change the image
      7. Add an HTML fragment
      8. Edit the HTML fragment
      9. Publish the content page template
      10. Back to Page Templates admin
      11. Click the ellipsis button
      12. Click Export action
      13. Assert success message shown
      14. Unzip
      15. Open page-definition.json file
      16. Assert modified text of editable field is shown in file

      Case 10:
      When export a content page template, the changes for configuration settings of fragments should also be exported.

      1. Add a page template collection
      2. Add a content page template
      3. Add a Section fragment
      4. Change background image
      5. Add a Heading fragment
      6. Set configuration of Heading fragment
      7. Heading Level as H2, Text Align as Center, Bottom Spacing as 1, Text Color as Red
      8. Publish the content page template
      9. Back to Page Templates admin
      10. Click the ellipsis button
      11. Click Export action
      12. Assert success message shown
      13. Unzip
      14. Open page-definition.json file
      15. Assert configuration of Heading and Section are the same as settings in portal

      Case 11:
      When export a content page template, the changes for Theme of it should also be exported

      1. Add a page template collection
      2. Add a content page template
      3. Click the Look and Feel from sidebar
      4. Change the theme to Fjord
      5. Publish the content page template
      6. Back to Page Templates admin
      7. Click the ellipsis button
      8. Click Export action
      9. Assert success message shown
      10. Unzip
      11. Open page-definition.json file
      12. Assert value of theme is Fjord in file

      Case 12:
      When export a content page template based on custom master, the reference of custom master should also be exported.

      1. Add a custom master
      2. Add a page template collection
      3. Add a content page template
      4. Click the Look and Feel from sidebar
      5. Change Master to custom master
      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. Unzip
      12. Open page-definition.json file
      13. Assert the masterPage attribute and value is included in file

        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