Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-7362

Write a Greenpeace Media e2e test for importing images

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Merged
    • Icon: Should have Should have
    • None
    • 5
    • Media Library, Testing
    • Sprint #241
    • saturn

      Summary

      Write a Playwright test to cover the basic import functionality of the new Media Archive implementation.

      Test Steps

      1. Login to the Admin Panel.
      2. Navigate to Media > Greenpeace Media.
      3. Search for a term (eg. "Rainbow Warrior").
      4. Pick the first image and import to the Library.
      5. Assert that after some time the Processing... message is replaced with a link to the imported image.
      6. Search for an image identifier (eg. GP0STXWME) and assert there is one result displayed.
      7. Append one more image identified (eg. GP0STXWZH) and assert that now are two images displayed.
      8. Click on "Bulk Select" and select both images.
      9. Click on "Bulk Upload".
      10. Assert that after some time the Processing 2 images message is hidden and the search box is shown again.
      11. Remove the imported images from the Library.

            mleray Maud Leray
            nroussos Nikos Roussos
            Pedro Figueroa Pedro Figueroa
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: