Problem/Motivation
The performance stats for AssetAggregationAcrossPagesTest are not correct and are breaking tests.
https://git.drupalcode.org/project/drupal/-/jobs/8866632 on main
Asset Aggregation Across Pages (Drupal\Tests\demo_umami\FunctionalJavascript\AssetAggregationAcrossPages)
✔ Front and recipes pages
✔ Front and recipes pages authenticated
✔ Front and recipes pages editor
✘ Node add pages author
┐
├ Asserting ScriptBytes 3804493 is greater or equal to 3803005 and is smaller or equal to 3804005
├ Failed asserting that 3804493 ( is equal to 3803005 or is greater than 3803005 ) and ( is equal to 3804005 or is less than 3804005 ).
│
│ /builds/core/tests/Drupal/Tests/PerformanceTestTrait.php:636
│ /builds/core/tests/Drupal/Tests/PerformanceTestTrait.php:685
│ /builds/core/profiles/demo_umami/tests/src/FunctionalJavascript/AssetAggregationAcrossPagesTest.php:106
┴
FAILURES!
Tests: 4, Assertions: 41, Failures: 1.
https://git.drupalcode.org/project/drupal/-/jobs/8866667 on 11.x
Asset Aggregation Across Pages (Drupal\Tests\demo_umami\FunctionalJavascript\AssetAggregationAcrossPages)
✔ Front and recipes pages
✔ Front and recipes pages authenticated
✔ Front and recipes pages editor
✘ Node add pages author
┐
├ Asserting ScriptBytes 3811015 is greater or equal to 3809527 and is smaller or equal to 3810527
├ Failed asserting that 3811015 ( is equal to 3809527 or is greater than 3809527 ) and ( is equal to 3810527 or is less than 3810527 ).
│
│ /builds/project/drupal/core/tests/Drupal/Tests/PerformanceTestTrait.php:636
│ /builds/project/drupal/core/tests/Drupal/Tests/PerformanceTestTrait.php:685
│ /builds/project/drupal/core/profiles/demo_umami/tests/src/FunctionalJavascript/AssetAggregationAcrossPagesTest.php:106
┴
FAILURES!
Tests: 4, Assertions: 41, Failures: 1.
Steps to reproduce
Proposed resolution
Adjust number in AssetAggregationAcrossPagesTest::doTestNodeAddPagesAuthor
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Comments
Comment #4
godotislatemain MR: https://git.drupalcode.org/project/drupal/-/merge_requests/15064
11.x MR: https://git.drupalcode.org/project/drupal/-/merge_requests/15065
Likely due to #3538177: Remove jQuery UI _focusedElement and _focusTabbable from dialog Ajax.
Comment #5
smustgrave commentedLove/hate these tests but yes please fix
Comment #6
claudiu.cristeaRan the 2 MR pipelines additionally 3 times each
Looks good. +1 for RTBC
Comment #8
catchCommitted/pushed to main and 11.x, thanks!