Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
system.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
24 Mar 2026 at 07:56 UTC
Updated:
8 Apr 2026 at 10:05 UTC
Jump to comment: Most recent
One of the slowest functional tests. See https://git.drupalcode.org/project/drupal/-/jobs/9061843
Several of the methods visit the same page without making any changes and assert some text/markup, that can all be one method so don't have to install Drupal multiple times to then check an identical page.
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 #3
catchComment #4
dcam commentedPre-patch results:
Post-patch results:
I only ran the test once on each branch, but a 22 second speed-up is significant enough to not be anomalous.
I checked for other tests that might be merged into this new, combined function. I didn't find any.
None of the combined functionality is likely to interfere with itself. It consists entirely of loading the
admin/modulespage and then asserting things in the output.I left one comment on the MR because I believe that the function's docblock needs to be updated.
Comment #5
catchApplied the suggestion on the MR, that looks good.
Comment #6
dcam commentedThe test failure is unrelated - one I've already seen randomly fail today. This MR looks good to me.
Comment #7
alexpottCommitted and pushed cf10d21ff9b to main and 14807990998 to 11.x. Thanks!