StreetCode icon indicating copy to clipboard operation
StreetCode copied to clipboard

[TC][Admin/Editor/Categories] [Functionality] Verify that category is not deleted when 'Cancel' button in the delete confirmation modal is clicked

Open tetiana-dz opened this issue 7 months ago • 0 comments

Priority: Medium

Objective: This test case verifies that if an admin clicks "Скасувати" (Cancel) button in the delete confirmation modal, the category is not deleted.

Preconditions

  1. The user is logged in as an admin on Streetcode
  2. The user navigated to the "Едітор" section
  3. "Категорії" tab is opened
  4. At least one category exists in the table

Steps to reproduce

  1. Locate a category in the categories table
  2. Click the "trash bin" icon under the "Дії" (Actions) column
  3. Verify that the confirmation modal appears with the message: "Ви впевнені, що хочете видалити цю категорію?"
  4. Click the "Скасувати" (Cancel) button in the modal
  5. Check the categories table

Expected result

  • The deletion modal confirmation closes
  • The category remains unchanged in the table
  • No success deletion message appears

User story: #833

tetiana-dz avatar Apr 30 '25 13:04 tetiana-dz