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

zrpnr created an issue. See original summary.

zrpnr’s picture

Issue tags: +d10readiness, +NorthAmerica2021

Tagging for Contribution event

Gábor Hojtsy’s picture

Issue tags: -d10readiness +Drupal 10

Fixing tags.

Wim Leers’s picture

AFAICT 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… 🧙‍♂️

Wim Leers’s picture

Title: Add test coverage for image upload » Add FunctionalJavascript test coverage for image upload
lauriii’s picture

Status: Active » Closed (outdated)

Drupal\Tests\ckeditor5\FunctionalJavascript\CKEditor5Test::testEditorFileReferenceIntegration provides integration testing for the image upload. I think we could close this one.