[wp-trac] [WordPress Trac] #60074: Add New Media File > The ''dismiss button ''not showing any response when uploading the unsupported (.jfif) file
WordPress Trac
noreply at wordpress.org
Fri Mar 7 22:38:54 UTC 2025
#60074: Add New Media File > The ''dismiss button ''not showing any response when
uploading the unsupported (.jfif) file
-------------------------------------------------+-------------------------
Reporter: vivekawsm | Owner: joedolson
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.8
Component: Media | Version: 6.4.2
Severity: normal | Resolution:
Keywords: has-patch changes-requested needs- | Focuses:
testing has-testing-info |
-------------------------------------------------+-------------------------
Comment (by peterwilsoncc):
I updated @adamsilverstein's [https://github.com/WordPress/wordpress-
develop/pull/5772 pull request] as it has some E2E tests. I think it's now
ready for a review.
The changes I made to the original code:
* Modified the tests, the file needed to be renamed to get them to run.
Then they needed a little work.
* Modified the code to use an ID for each button, this was to avoid
multiple events being added to each button as noted a while ago.
* Merged in trunk because it had been a while.
I'm seeing some flakeyness with `admin.visitAdminPage()` failing to log
the user in and causing the tests to fail on some runs but not others.
I'll ask around but if they're going to throw false errors I'll skip them
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60074#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list