[wp-trac] [WordPress Trac] #42937: Success Message should display on insertion of new category in Taxonomy page
WordPress Trac
noreply at wordpress.org
Mon Nov 15 15:04:38 UTC 2021
#42937: Success Message should display on insertion of new category in Taxonomy
page
-------------------------------------+-------------------------------------
Reporter: manishamakhija | Owner: joedolson
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 5.9
Component: Taxonomy | Version: 4.9.1
Severity: normal | Resolution:
Keywords: has-patch has- | Focuses: ui, accessibility,
screenshots has-unit-tests input- | administration
validation commit |
-------------------------------------+-------------------------------------
Changes (by hellofromTonya):
* keywords:
has-patch has-screenshots has-unit-tests input-validation needs-
testing
=> has-patch has-screenshots has-unit-tests input-validation commit
Comment:
= Test Report
Env:
* OS: macOS Big Sur
* WordPress: latest `trunk` (5.9-alpha)
* Browsers: Chrome, Firefox, Edge, and Safari
* Plugins: none
* Theme: TT2
* localhost: wp-env
== Steps
1. Go to Posts > Categories
2. Add a new category by typing a name into the `Name` field
3. Press enter, return, or "Add New Category" button.
Expected behavior:
* Category is added
* A success message "Category added" displays
4. Repeat but attempt to add a category that already exists.
Expected behavior:
* Category is not added
* An error message displays: "A term with the name provided already
exists with this parent."
== Test Results
* Able to reproduce reported issue ❌. See
[attachment:"42937-before.gif"].
* After applying the patch and repeating steps 1-3, success message
displays as expected ✅. See [attachment:"42937-test-after-
pr1884-applied.gif"].
* Step 4 displays an error message as expected before and after patch is
applied. No regression introduced ✅
Marking for commit.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42937#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list