only in patch2: unchanged: --- a/core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5Test.php +++ b/core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5Test.php @@ -390,7 +390,7 @@ public function testEditorFileReferenceIntegration() { $uploaded_image = File::load(1); $image_url = $this->container->get('file_url_generator')->generateString($uploaded_image->getFileUri()); $image_uuid = $uploaded_image->uuid(); - $assert_session->elementExists('xpath', sprintf('//img[@src="%s" and @loading="lazy" and @width and @height and @data-entity-uuid="%s" and @data-entity-type="file"]', $image_url, $image_uuid)); + $assert_session->elementExists('xpath', sprintf('//img[@src="%s" and @data-entity-uuid="%s" and @data-entity-type="file"]', $image_url, $image_uuid)); // Ensure that width, height, and length attributes are not stored in the // database. @@ -402,7 +402,7 @@ public function testEditorFileReferenceIntegration() { $this->assertNotEmpty($assert_session->waitForElement('css', '.ck-editor')); $page->pressButton('Save'); - $assert_session->elementExists('xpath', sprintf('//img[@src="%s" and @loading="lazy" and @width and @height and @data-entity-uuid="%s" and @data-entity-type="file"]', $image_url, $image_uuid)); + $assert_session->elementExists('xpath', sprintf('//img[@src="%s" and @data-entity-uuid="%s" and @data-entity-type="file"]', $image_url, $image_uuid)); } /**