Details

      Description

      Create the test scenarios to validate the parent story, according to the Acceptance Criteria.

      Those test scenarios will be writing in the parent story.

      Context

      When select an image in Image fragment, the best image resolution will be selected automatically.
      Assume the width of Desktop viewport is v
      Assume the original width of image as i
      Assume the width of available image resolution are a and b. Additionally, a < b

      1. Applications Menu > Control Panel > Adaptive Media
      2. Add Image Resolution > Define Max Width in Size section
      3. Add a page based on Blank
      4. Add an Image fragment to page
      5. Click the editable field > Image tab
      6. Select an image
      Test Cases  Conditions Expected Automatic Selection of Image Resolution
      Case 1 i > v > a i
      Case 2 i > b > a > v a
      Case 3 v > i > a i
      Case 4 v > a > i i
      Case 5 a > i > v i
      Case 6 a > v > i i

      Case 1

      1. Upload an image with width greater than 2000px
      2. Assert the Auto selected in Resolution field
      3. Assert the Width is the original width of image
      4. Assert the File Size has value

      Case 2

      1. Add an image resolution with 800px Max Width
      2. Upload an image with width greater than 1000px
      3. Take down the number of File Size
      4. Change to the Tablet viewport
      5. Assert the Auto selected in Resolution field
      6. Assert the Width is 800px
      7. Assert the File Size become smaller

      Case 3

      1. Add an image resolution with 600px Max Width
      2. Upload an image with width between 600px and 700px
      3. Change to the Tablet viewport
      4. Assert the Auto selected in Resolution field
      5. Assert the Width is the original width of image
      6. Assert the File Size has value

      Case 4

      1. Add an image resolution with 600px Max Width
      2. Upload an image with width about 500px
      3. Change to the Tablet viewport
      4. Assert the Auto selected in Resolution field
      5. Assert the Width is the original width of image
      6. Assert the File Size has value

      Case 5

      1. Upload an image with width between 600px and 700px
      2. Change to the Landscape viewport
      3. Assert the Auto selected in Resolution field
      4. Assert the Width is the original width of image
      5. Assert the File Size has value

      Case 6

      1. Upload an image with width about 700px
      2. Change to the Tablet viewport
      3. Assert the Auto selected in Resolution field
      4. Assert the Width is the original width of image
      5. Assert the File Size has value

        Attachments

          Activity

            People

            Assignee:
            david.gutierrez David Gutiérrez Mesa
            Reporter:
            david.gutierrez David Gutiérrez Mesa
            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
                Master