Closed (fixed)
Project:
Module Filter
Version:
4.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
17 Nov 2023 at 11:11 UTC
Updated:
1 Dec 2023 at 16:44 UTC
Jump to comment: Most recent
One javascript test fails in the new gitlab pipeline tests. This does not fail in DrupalCI.
The test is FunctionalJavascript\ModuleFilterJavascriptUninstallPageTest::testUninstallPageFiltering
Log https://git.drupalcode.org/project/module_filter/-/jobs/349380#L47
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
jonathan1055 commentedI think the reason this fails on gitlab is that the core uninstall form does not yet have
$form['#attached']['library'][] = 'core/drupal.tableresponsive';We added this, as a patch in drupalci.yml. So need to do the same for GitLabCI.
The core isssue #3331975: Uninstall form does not add drupal.tableresponsive library is closed as a dupliacte because that fix was added to #2895388: Modules uninstall filter does not filter by machine name. But we can still use the patch from the closed issue, as that is just a one-line change so safer to do.
Comment #4
jonathan1055 commentedPipeline phpunit passes green now.
Also set eslint to be a warning not failure, so that the pipeline result is amber not red.
Ready for review.
Comment #6
smustgrave commentedExcellent find!
Comment #7
jonathan1055 commentedThanks. Odd coincidence because I found the problem, went to that issue then saw your comment asking me to update the MR for core 11.x. I will try to do that soon.