diff --git a/core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5AllowedTagsTest.php b/core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5AllowedTagsTest.php index c5602ec73a..40c27474e6 100644 --- a/core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5AllowedTagsTest.php +++ b/core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5AllowedTagsTest.php @@ -281,15 +281,13 @@ public function testAllowedTags() { $this->assertHtmlEsqueFieldValueEquals('filters[filter_html][settings][allowed_html]', $allowed_with_blockquote); // Add the source editing plugin to the CKEditor 5 toolbar. - $this->assertNotEmpty($assert_session->waitForElement('css', '.ckeditor5-toolbar-item-sourceEditing')); + $this->assertNotEmpty($assert_session->waitForElement('css', '.ckeditor5-toolbar-available .ckeditor5-toolbar-item-sourceEditing')); $this->triggerKeyUp('.ckeditor5-toolbar-item-sourceEditing', 'ArrowDown'); - $assert_session->assertWaitOnAjaxRequest(); // Updating Source Editing's editable tags should automatically update // filter_html to include those additional tags. $assert_session->waitForText('Source editing'); $page->find('css', '[href^="#edit-editor-settings-plugins-ckeditor5-sourceediting"]')->click(); - $assert_session->assertWaitOnAjaxRequest(); $assert_session->waitForText('Manually editable HTML tags'); $source_edit_tags_field = $assert_session->fieldExists('editor[settings][plugins][ckeditor5_sourceEditing][allowed_tags]'); $source_edit_tags_field->setValue('