-
Type:
Story
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: Master
-
Component/s: Categories
-
Epic Link:
-
Git Pull Request:
Motivation
Taxonomies and categories in them can be renamed or deleted. A warning message informing the expected behaviour regarding content already published will appear in the edition page.
Design
Technical requirements
TAXONOMIES
- Can be renamed but no warning message will show
- Can be deleted.
- No message will show if there are no categories in the deleted taxonomy
- If the taxonomy has categories in it, then the following message will show: This vocabulary has [N] categories that might be being used in some contents. If you delete this vocabulary, all of its categories will also be deleted and removed from those contents. Do you want to continue deleting this vocabulary? _- Delete / Cancel_
CATEGORIES
- When clicking the Delete option on a category, regardless of wether it has subcategories in it or not, a message will show: This category might be being used in some contents. If you delete it, this category and all of its subcategories will also be deleted and removed from those contents. Do you want to continue deleting this category? -Delete / Cancel_
NOTE: These messages will replace the current one (see screenshot)
Acceptance Criteria
- Given a vocabulary with categories in it
- When user tries to delete it
- Then a warning message with the number of categories and Cancel / Delete options will show
–
- Given a category
- When user tries to delete it
- Then a warning message with Cancel / Delete options will show
Test Scenarios
AC ID | Test Strategy | Test Scenarios | Is it covered by FrontEnd ? (JS-Unit) | Is it covered by BackEnd? (unit or integration) | Poshi? |
---|---|---|---|---|---|
01 | Smoke | When the user tries to delete a vocabulary with categories in it, a warning message with the number of categories and Cancel / Delete options will show | No | No | yes |
02 | Sanity | When the user tries to delete a category, a warning message with Cancel / Delete options will show | No | No | yes |
- relates
-
LPS-134258 Test Automation LPS-113922 for "Warning when categories/taxonomies are deleted (config page)"
-
- Closed
-
- Testing discovered
-
LPS-117279 Change color and position of warning messages
- Closed