Details

    • Type: Technical Testing
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Pages > Page Editor
    • Labels:
      None

      Description

      Case 1:
      If a page author starts creating a content from an inline field that uses a structure with a required field, and does not map the field, there is an error message and the content is not created

      1. Enable the content page content creation configuration
      2. Add a web content structure with a required text field
      3. Create a content page and add a text fragment
      4. Edit the fragment text and after you've done that click on the mapping tooltip
      5. Select "Create New Content" button
      6. Give the new content a name and select the structure you created in step 2 and click next
      7. Assert the content value has your edited text
      8. Leave the structure field Unmapped and save
      9. Assert there is an error message and the content is not created

      Case 2:
      When a page author starts editing a page in another language and goes to create a content from an inline field, then the created web articles default language is the language the page was edited in

      1. Enable the content page content creation configuration
      2. Add a content page and change the language to "X" in the top left corner
      3. Add a text fragment and edit the inline text
      4. Click on the mapping tooltip and select "Create New Content" button
      5. Name the content and select structure "Basic Web Content"
      6. Select "Content" for the structure field and save
      7. Publish the content page and go to web content admin
      8. Open/edit the created web content article and assert its default language is language "X"

      Case 3:
      Can't create a content from an inline editable image field and map it to a text/rich-text element

      1. Enable the content page content creation configuration
      2. Add a web content structure with an image field
      3. Create a content page and add a text fragment
      4. Click on the mapping tooltip
      5. Select "Create New Content" button
      6. Give the new content a name and select the structure you created in step 2 and click next
      7. Assert the content value displays the text fragment
      8. Select "Image" for the structure field and save
      9. Assert there is an error message and the content is not created

      Case 4:
      When creating a content with an inline image field(of type base64 or external URL), and the image field is mapped, an image should be created in the repository associated to the new article and the image field points to it.

      1. Enable the content page content creation configuration
      2. Add a web content structure with an image field
      3. Create a content page and add an image fragment
      4. Edit the image fragment to display an image from an external URL or whose value is in base64
      5. Click on the mapping tooltip
      6. Select "Create New Content" button
      7. Give the new content a name and select the structure you created in step 2 and click next
      8. Map the editable field to the image field and save
      9. Publish the content page and assert an image was created in the repository associated to the wc article
      10. Assert the image fields points to the image in the repository

      Case 5:
      When an inline image points to a non-existent URL and the editable field is mapped to the image field, an error should be shown when attempting to create the content

      1. Enable the content page content creation configuration
      2. Add a web content structure with an image field
      3. Create a content page and add an image fragment
      4. Edit the image fragment to display an image from a non-existent URL
      5. Click on the mapping tooltip
      6. Select "Create New Content" button
      7. Give the new content a name and select the structure you created in step 2 and click next
      8. Map the editable field to the image field and save
      9. Assert there is an error message and the content is not created

      Case 6:
      As a page author I can create a new Web Content with an existing Structure from several inline content fields

      1. Enable the content page content creation configuration
      2. Add a web content structure with three text fields
      3. Create a content page with 3 text fragments
      4. Edit the fragment text and select all 3 fragments
      5. Click on the mapping tooltip and select "Create New Content" button
      6. Give the new content a name and select the structure you created in step 2 and click next
      7. Assert there are three fields in the content value area and they have your edited text
      8. Map the structures and save
      9. Assert the web content was created successfully

      Case 7:
      Can choose a structure with fewer fields than you have selected in a page

      1. Enable the content page content creation configuration
      2. Add a web content structure with two text fields
      3. Create a content page with at least 4 text fragments
      4. Edit the fragment text and select more than 2 fragments
      5. Click on the mapping tooltip and select "Create New Content" button
      6. Give the new content a name and select the structure you created in step 2
      7. Assert there are multiple fields in the content value area and they have your edited text
      8. Assert you can only map 2 of the fields, the others can only be unmapped
      9. Map the 2 fields and save
      10. Assert the web content was created successfully

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brooke.dalton Brooke Dalton
              Reporter:
              brooke.dalton Brooke Dalton
              Recent user:
              Yang Cao
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package