StreetCode
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
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
- The user is logged in as an admin on Streetcode
- The user navigated to the "Едітор" section
- "Категорії" tab is opened
- At least one category exists in the table
Steps to reproduce
- Locate a category in the categories table
- Click the "trash bin" icon under the "Дії" (Actions) column
- Verify that the confirmation modal appears with the message: "Ви впевнені, що хочете видалити цю категорію?"
- Click the "Скасувати" (Cancel) button in the modal
- 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