Details

    • Type: Technical Testing
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ~[Archived] WCM
    • Labels:
      None

      Description

      Test Cases:

      Case 1:
      Custom fields defined in Site Navigation Menu Item is available for existing Page type item in Navigation Menu

      1. Navigate to Navigation Menus admin in default site
      2. Add a new Navigation Menu item
      3. Add a Page type item
      4. Navigate to Custom Fields admin
      5. Add an Input Field as Custom Field in Site Navigation Menu Item
      6. Back to Navigation Menus admin in default site
      7. Access to Navigation Menu item
      8. Click the Page type item
      9. Assert the custom field is shown in the sidebar panel

      Case 2:
      Custom fields defined in Site Navigation Menu Item is available for future Submenu type item in Navigation Menu

      1. Navigate to Custom Fields admin
      2. Add an Input Field as Custom Field in Site Navigation Menu Item
      3. Navigate to Navigation Menus admin in default site
      4. Add a new Navigation Menu item
      5. Add a Submenu type item
      6. Click the Submenu type item
      7. Assert the custom field is shown in the sidebar panel

      Case 3:
      Custom fields defined in Site Navigation Menu Item is available for URL type item in future site's Navigation Menu

      1. Navigate to Custom Fields admin
      2. Add an Input Field as Custom Field in Site Navigation Menu Item
      3. Add a new site
      4. Navigate to Navigation Menus admin in new site
      5. Add a new Navigation Menu item
      6. Add a URL type item
      7. Click the URL type item
      8. Assert the custom field is shown in the sidebar panel

      Case 4:
      Custom fields defined in Site Navigation Menu Item is available for Submenu type item in Global site's Navigation Menu

      1. Navigate to Custom Fields admin
      2. Add an Input Field as Custom Field in Site Navigation Menu Item
      3. Navigate to Global site
      4. Navigate to Navigation Menus admin in Global site
      5. Add a new Navigation Menu item
      6. Add a Submenu type item
      7. Click the Submenu type item
      8. Assert the custom field is shown in the sidebar panel

      Case 5:
      Custom fields defined in Site Navigation Menu Item can be displayed in Navigation Menu portlet

      1. Navigate to Custom Fields admin
      2. Add an Input Field as Custom Field in Site Navigation Menu Item
      3. Add a new site
      4. Add a new widget page
      5. Navigate to Navigation Menus admin in new site
      6. Add a new Navigation Menu item
      7. Add a Page type item
      8. Click the Page type item
      9. Type Page in custom field and Save
      10. Add a Submenu type item
      11. Click the Submenu type item
      12. Type Submenu in custom field and Save
      13. Add a URL type item
      14. Click the URL type item
      15. Type URL in custom field and Save
      16. Navigate to Widget Templates Admin
      17. Add a new Navigation Menu Template
      18. Use the following codes
        <#if entries?has_content>
            <#list entries as navItem>
                <#assign customFields = navItem.getExpandoAttributes() />
                ${customFields["customFieldName"]}
            </#list>
        </#if>
        
      19. Save
      20. Navigate to widget page
      21. Click ellipsis button of Navigation Menu portlet
      22. Click Configuration
      23. Select Navigation Menu item as Menu
      24. Select new template as Display Template
      25. Click Save
      26. Assert Page Submenu URL displayed in the Navigation Menu portlet

        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