Details

      Description

      Test Cases

      Case 1:
      There is Friendly URL field shown in the DDM template panel when select the Basic Web Content structure

      1. Site admin > Content & Data > Web Content > Templates tab
      2. Add a template
      3. Select Basic Web Content as Structure
      4. Assert Field section is shown in the DDM template panel
      5. Expand the Field section
      6. Assert Friendly URL is shown in the Field section
      7. Click the Friendly URL
      8. Assert ${friendlyURLs[themeDisplay.getLanguageId()]} is shown in source field

      Case 2:
      There is Friendly URL field shown in the DDM template panel when select the custom structure

      1. Site admin > Content & Data > Web Content > Structures tab
      2. Add a structure with Text field
      3. Site admin > Content & Data > Web Content > Templates tab
      4. Add a template
      5. Select new structure as Structure
      6. Assert Field section is shown in the DDM template panel
      7. Expand the Field section
      8. Assert Friendly URL is shown in the Field section
      9. Click the Friendly URL
      10. Assert ${friendlyURLs[themeDisplay.getLanguageId()]} is shown in source field

      Case 3:
      The Friendly URL of WC is shown in WCD when select template with Friendly URL field and it is displayed in DPT with the Display Page Content fragment

      1. Site admin > Content & Data > Web Content > Templates tab
      2. Add a template
      3. Select Basic Web Content as Structure
      4. Click the Friendly URL from Field section
      5. Publish
      6. Site admin > Site Builder > Page Templates > Display Page Templates
      7. Add a DPT with Web Content Article and Basic Web Content
      8. Add a Display Page Content fragment to DPT
      9. Publish
      10. Site admin > Content & Data > Web Content > Web Content tab
      11. Add a WC based on Basic Web Content
      12. Select new template as Default Template
      13. Select new DPT as Specific Display Page Template
      14. Publish
      15. Add a widget page
      16. Add a WCD to page
      17. Select new WC
      18. Assert http://localhost:8080/web/guest/w/${title} is shown in WCD

      Case 4:
      The Friendly URL of WC based on custom structure is shown in WCD when select template with Friendly URL field and it is displayed in DPT that is marked as Default

      1. Site admin > Content & Data > Web Content > Structures tab
      2. Add a structure with Text field
      3. Site admin > Content & Data > Web Content > Templates tab
      4. Add a template
      5. Select new structure as Structure
      6. Click the Friendly URL from Field section
      7. Publish
      8. Site admin > Site Builder > Page Templates > Display Page Templates
      9. Add a DPT with Web Content Article and new Structure
      10. Add a Display Page Content fragment to DPT
      11. Publish
      12. Mark the DPT as Default
      13. Site admin > Content & Data > Web Content > Web Content tab
      14. Add a WC based on new structure
      15. Select new template as Default Template
      16. Assert new DPT is shown in the Default Display Page Template field
      17. Publish
      18. Add a widget page
      19. Add a WCD to page
      20. Select new WC
      21. Assert http://localhost:8080/web/guest/w/${title} is shown in WCD

      Case 5:
      The Friendly URL of WC is shown in WCD when select template with Friendly URL field and it is displayed in DPT with the Asset Publisher widget

      1. Site admin > Content & Data > Web Content > Templates tab
      2. Add a template
      3. Select Basic Web Content as Structure
      4. Click the Friendly URL from Field section
      5. Publish
      6. Site admin > Site Builder > Page Templates > Display Page Templates
      7. Add a DPT with Web Content Article and Basic Web Content
      8. Add an Asset Publisher widget to DPT
      9. Click ellipsis button of AP
      10. Set as the Default Asset Publisher for This Page
      11. Publish
      12. Site admin > Content & Data > Web Content > Web Content tab
      13. Add a WC based on Basic Web Content
      14. Select new template as Default Template
      15. Select new DPT as Specific Display Page Template
      16. Publish
      17. Add a widget page
      18. Add a WCD to page
      19. Select new WC
      20. Assert http://localhost:8080/web/guest/w/${title} is shown in WCD

      Case 6:
      The localized Friendly URL of WC is shown in WCD when select template with Friendly URL field and it is displayed in DPT

      1. Site admin > Content & Data > Web Content > Templates tab
      2. Add a template
      3. Select Basic Web Content as Structure
      4. Click the Friendly URL from Field section
      5. Publish
      6. Site admin > Site Builder > Page Templates > Display Page Templates
      7. Add a DPT with Web Content Article and Basic Web Content
      8. Add a Display Page Content fragment to DPT
      9. Publish
      10. Site admin > Content & Data > Web Content > Web Content tab
      11. Add a WC based on Basic Web Content
      12. Select new template as Default Template
      13. Select new DPT as Specific Display Page Template
      14. Type wcinenglish in Friendly URL field
      15. Select es-ES in Language Selector
      16. Type wcinspanish in Friendly URL field
      17. Publish
      18. Add a widget page
      19. Add a WCD to page
      20. Add a Language Selector to page
      21. Select new WC
      22. Assert http://localhost:8080/web/guest/w/wcinenglish is shown in WCD
      23. Select es-ES in Language Selector
      24. Assert http://localhost:8080/web/guest/w/wcinspanish is shown in WCD

        Attachments

          Activity

            People

            Assignee:
            david.gutierrez David Gutiérrez Mesa
            Reporter:
            david.gutierrez David Gutiérrez Mesa
            Recent user:
            David Gutiérrez Mesa
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package