Problem/Motivation
https://git.drupalcode.org/issue/drupal-3093378/-/jobs/6778778#L510
CKEditor5 (Drupal\Tests\ckeditor5\FunctionalJavascript\CKEditor5) ✔ Existing content ✔ Headings plugin ✘ Language of parts plugin ┐ ├ Behat\Mink\Exception\ExpectationException: The string "Added text format ckeditor5." was not found anywhere in the HTML response of the current page. │ │ /builds/issue/drupal-3093378/vendor/behat/mink/src/WebAssert.php:888 │ /builds/issue/drupal-3093378/vendor/behat/mink/src/WebAssert.php:363 │ /builds/issue/drupal-3093378/core/tests/Drupal/Tests/WebAssert.php:559 │ /builds/issue/drupal-3093378/core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5Test.php:216 │ /builds/issue/drupal-3093378/core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5Test.php:154 ┴ ✔ Active tabs maintained ✔ Editor file reference integration ✔ Emphasis ✔ List plugin ✔ Save
Steps to reproduce
Baseline MR: https://git.drupalcode.org/project/drupal/-/merge_requests/14334
Repeat 250x: https://git.drupalcode.org/issue/drupal-3550787/-/jobs/7986131 (failed 6 / 250)
Proposed resolution
Fix MR: https://git.drupalcode.org/project/drupal/-/merge_requests/14335
Repeat 250x: https://git.drupalcode.org/issue/drupal-3550787/-/jobs/7986201 (pass 250 / 250)
Remaining tasks
Verify test results on both MRs- Reviews / refinements
- RTBC
- Commit / rejoince
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3550787
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
kentr commentedI believe random test failures are supposed to be critical.
Comment #3
kentr commentedHeh. Didn't actually change it.
Comment #7
dwwComment #8
dwwReady for review:
Comment #9
smustgrave commentedWell that's great stat! Can't argue with the results.
Comment #10
acbramley commentedSame comment as #3520036: [random test failure] CKEditor5MarkupTest here - we should be using submitForm instead of pressing buttons. In my experience that removes the need for a wait.
Comment #11
acbramley commentedDiscussed in slack, there shouldn't be any difference between submitForm or press (since submitForm does a press anyway).
Comment #16
catchCommitted/pushed to main, 11.x, and 11.3.x, thanks!
Comment #19
longwaveAlso backported to 10.6.x, it applies cleanly so why not.