Details

    • Type: Testing
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: WCM, WCM > Fragments
    • Labels:
      None
    • Sprint:
      WE | Sprint 13 | Mar4 - Mar17, WE | Sprint 14 | Mar18 - Mar31, WE | Sprint 15 | Apr1 - Apr5
    • Test Type:

      Description

      Case 1
      Assert fragments can be created programmatically

      1. Add some basic fragments programmatically
      2. Redeploy portal module with above commits
      3. Create a content page, content page template, and a display page template
      4. Assert that "Section Builder" menu contains created component collection
      5. Assert that rendered fragments can be added to a content page, content page template, and display page template

      Case 2
      Translating the collection name

      1. Add some basic fragments programmatically
      2. Have the getCollectionKey() return "my-sample-component"
      3. Go to Language.properties file and add "fragment.collection.label.my-sample-component=My Sample Component"
      4. Go to Language_es.properties file and add "fragment.collection.label.my-sample-component=Mí Componente"
      5. Redeploy portal module and assert collection name is "My Sample Component"
      6. Change the site language to be in spanish and assert collection name is "Mí Componente"

      Case 3
      Unavailable/Available components

      1. Add the isSelectable() method to a created fragment so it is only available for display pages
      2. Create a content page
      3. Assert the component with the fragment is unavailable in the content page
      4. Create a display page template
      5. Assert the component with the fragment is available to use and is displayed correctly

      Case 4
      Rendering engine

      1. Create a new site and add "MyJSPFragmentRenderer.java" along with a jsp file
      2. Create a content page, content page template, and display page template
      3. Assert that the JSPRenderer fragment is displayed correctly and can be added to a content page, content page template, and display page template in the new site

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brooke.dalton Brooke Dalton
                Reporter:
                kyle.miho Kyle Miho
                Recent user:
                Brooke Dalton
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: