Skip to content
Snippets Groups Projects

Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS

Closed Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS
Closed Harumi Jang requested to merge issue/drupal-3238915:3238915-refactor-if-feasible into 9.3.x
2 files
+ 5
2
Compare changes
  • Side-by-side
  • Inline
Files
2
  • e9d3e92f
    Issue #3317330 by Wim Leers, nod_: Random failure in ImageTest::testAltTextRequired · e9d3e92f
    catch authored
@@ -124,6 +124,8 @@ protected function addImage() {
@@ -124,6 +124,8 @@ protected function addImage() {
$this->assertNotEmpty($image_upload_field = $page->find('css', '.ck-file-dialog-button input[type="file"]'));
$this->assertNotEmpty($image_upload_field = $page->find('css', '.ck-file-dialog-button input[type="file"]'));
$image = $this->getTestFiles('image')[0];
$image = $this->getTestFiles('image')[0];
$image_upload_field->attachFile($this->container->get('file_system')->realpath($image->uri));
$image_upload_field->attachFile($this->container->get('file_system')->realpath($image->uri));
 
// Wait for the image to be uploaded and rendered by CKEditor 5.
 
$this->assertNotEmpty($this->assertSession()->waitForElementVisible('css', '.ck-widget.image > img[src*="' . $image->filename . '"]'));
}
}
/**
/**
Loading