Details

      Description

      Case 1: (Integration, need to cover fragmentConfig validation and adding of fragmentEntryLink)
      Can add a configuration of type text to configurable fragment and should be publishable

      1. Enable fragment configurations in Control Panel > Configuration > System Settings > Page Fragments
      2. Add a new fragment section with a configuration type text using json
      3. Add html that refers to your fragment's configuration values and publish
      4. Assert the fragment is added successfully

      Case 2:
      Invalid text configuration should not be publishable and should give the user a valid error message

      1. Enable fragment configurations in Control Panel > Configuration > System Settings > Page Fragments
      2. Add a new fragment section with an invalid json configuration of type text
      3. Add html that refers to your fragment's configuration values and attempt to publish
      4. Assert the fragment can't be added and there is an error message

      Case 3:
      A non-technical user can update the text field in the configurable fragment

      1. Enable fragment configurations in Control Panel > Configuration > System Settings > Page Fragments
      2. Add a new fragment section with a configuration type text using json
      3. Add html that refers to your fragment's configuration values and publish
      4. Create a content page
      5. Add the fragment to the content page
      6. Assert user can change the configuration of the fragment using the text area

      Case 4:
      Text configuration added by user should be shown correctly on live site(local live staging)

      1. Enable fragment configurations in Control Panel > Configuration > System Settings > Page Fragments
      2. Enable local live staging
      3. Add a new fragment section with a configuration type text using json
      4. Add html that refers to your fragment's configuration values and publish
      5. Create a content page
      6. Add the fragment to the content page
      7. Change the text configuration of the fragment and publish page
      8. Publish to live
      9. Assert live site shows the correct fragment configuration text value

      Case 5:
      Text configuration added by user should be shown correctly on live site(remote live staging)

      1. Enable fragment configurations in Control Panel > Configuration > System Settings > Page Fragments
      2. Enable remote live staging
      3. Add a new fragment section with a configuration type text using json
      4. Add html that refers to your fragment's configuration values and publish
      5. Create a content page
      6. Add the fragment to the content page
      7. Change the text configuration of the fragment and publish page
      8. Publish to live
      9. Assert live site shows the correct fragment configuration text value

      Case 6:
      Text configuration should work for content pages, display pages, and content page templates

      1. Enable fragment configurations in Control Panel > Configuration > System Settings > Page Fragments
      2. Add a new fragment section with a configuration type text using json
      3. Add html that refers to your fragment's configuration values and publish
      4. Create a content page, display page, and content page template
      5. Assert you can add the fragment to the content page, display page, and content page template

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package