Details

      Description

      Case 1:
      Valid configuration should be publishable. (functional)

      1. Add a fragment collection with a new fragment section
      2. Go to "Configuration" tab inside fragment editor
      3. Enter valid JSON code
      4. Go back to "Code" tab inside fragment editor and reference the configuration in HTML section
      5. Publish the fragment
      6. Add a new content page, add the created fragment, click on the fragment, and assert the fragment is configurable

      Case 2:
      Invalid configuration should not be publishable. (functional)

      1. Add a fragment collection with a new fragment section
      2. Go to "Configuration" tab inside fragment editor
      3. Enter invalid JSON code
      4. Go back to Code tab inside fragment editor and reference the configuration in HTML section
      5. Assert fragment cannot be published

      Case 3:
      Invalid configuration should give the user a valid error message and line value of where the problem is at. (functional)

      1. Add a fragment collection with a new fragment section
      2. Go to "Configuration" tab inside fragment editor
      3. Enter JSON code
      4. Go back to Code tab inside fragment editor and reference the configuration in HTML section incorrectly
      5. Assert there is a valid error message and fragment preview shows what line the error is on

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package