Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
There are currently Functional tests for Image Upload Access and Image Upload,
We should evaluate whether there should be additional test coverage to match or exceed what CK4 has in core now.
Proposed resolution
Additional tests to cover image upload.
Comments
Comment #2
zrpnrTagging for Contribution event
Comment #3
Gábor HojtsyFixing tags.
Comment #4
Wim LeersAFAICT CKEditor 4 does not have tests for this —
\Drupal\Tests\ckeditor\FunctionalJavascript\CKEditorIntegrationTest::testDrupalImageDialog()
is the closest we have.I don't think we had figured out how to upload files via drag-and-drop yet in functional JS tests back then… 🧙♂️
Comment #5
Wim LeersComment #6
lauriiiDrupal\Tests\ckeditor5\FunctionalJavascript\CKEditor5Test::testEditorFileReferenceIntegration
provides integration testing for the image upload. I think we could close this one.