ita-social-projects / StreetCode

MIT License
19 stars 9 forks source link

[TC][Admin/Art gallery block] Verify that the admin can add only a description for the image when creating or editing the StreetCode page #1449

Open SophiaMRI opened 5 months ago

SophiaMRI commented 5 months ago

Priority: High

Preconditions

  1. Logged in as the admin.
  2. The new StreetCode page or the existing StreetCode page for editing is opened.
  3. At least one image is loaded to the StreetCode art gallery block.

Steps to reproduce

  1. Scroll down to the "Арт-галерея" block.
  2. Hover the cursor to the loaded image in the "Завантажити арти" field.
  3. Press the "eye" button.
  4. Enter data in the "Опис" field in the opened "Додаткові дані" modal window.
  5. Click on the "Зберегти" button.
  6. Scroll down to the end of the page and publish the Streetcode.

Expected result The description is added to the image and displayed on the user side below the image on hover or, when the image is open in a full screen mode - in the bottom bar.

User story: #127

Nikita3301 commented 4 months ago

UPDATE to Preconditions:

  1. At least one image is loaded on to the StreetCode page art gallery block.

UPDATE to Steps to reproduce:

  1. Scroll down to the end of the page and save the page publish the Streetcode.

UPDATE to Expected result: OLD: The description is added to the image and correctly displayed on the user side. NEW: The description is added to the image and displayed on the user side below the image on hover or, when the image is open in a full screen mode - in the bottom bar.