- 🇺🇸United States smustgrave
Change looks good. Will admit not sure how to test but assume the committer know more of nightwatch then myself.
- Status changed to Needs work
almost 2 years ago 8:07am 20 February 2023 - 🇫🇮Finland lauriii Finland
Sorry, I don't think I did a good job when I filed this issue. I don't think #5 is doing exactly what this issue was intended to solve. This issue was opened to remove instances where we navigate manually to install modules. These instances can be found by searching for
/admin/modules
within the Nightwatch directory. - 🇨🇦Canada star-szr
Seems like we should also update https://www.drupal.org/node/3264978 → since we are changing the parameters to add a new optional parameter.
- Status changed to Needs review
over 1 year ago 3:08pm 14 March 2023 - 🇨🇦Canada star-szr
Seems like this may not work for test modules (or only for some test modules?) based on my local testing, but it's a start.
- Status changed to Needs work
over 1 year ago 11:33pm 14 March 2023 - 🇺🇸United States smustgrave
Seemed to have caused a number of errors
https://dispatcher.drupalci.org/job/drupal_patches/172509/console - 🇨🇦Canada star-szr
Thanks @smustgrave!
This may break something else, but trying a different approach since we can't reliably filter by module machine name on /admin/modules.
The test code previously was searching for the proper name of the module, such as "FormAPI Test" and "Tabbing Manager Test" to work around this.
- Status changed to Needs review
over 1 year ago 4:22pm 15 March 2023 - 🇨🇦Canada star-szr
See also #3272727: Nightwatch's drupalModuleInstall() doesn't handle test modules or modules w underscores in machine name → (nice issue number!) but I think that may have missed that you can't filter by
machine_name
? Or maybe something changed elsewhere? - 🇨🇦Canada star-szr
I think I've narrowed it down:
The filtering only fails when the machine name doesn't "match" with the human-readable name.
Examples:
form_test => FormAPI Test
tabbingmanager_test => Tabbing Manager TestI will try to trace down the code to confirm this.
- 🇨🇦Canada star-szr
From what I can tell, there is an unaddressed case in the module filtering JS. As it stands, filtering by machine name only works if the module description ends with a period or other separator. The module filter does a regex search where the match must occur at the start of a word boundary, and the text it's searching just concatenates everything together.
I tracked down 🐛 Using the module filter on the module list page a module can only be found by system name if the description ends with a period Needs work which could be revived to fix that problem.
- 🇨🇦Canada star-szr
Now that 🐛 Using the module filter on the module list page a module can only be found by system name if the description ends with a period Needs work is in (thanks @lauriii!) we can go back to the filter approach.
- Status changed to Needs work
over 1 year ago 1:47am 26 March 2023 - 🇺🇸United States smustgrave
Change looks good. Kinda new with the nightwatch stuff but looks good.
Only moving to NW for change record updates per #8
- 🇨🇦Canada star-szr
Thanks @smustgrave!
I'm actually not sure the best way to handle the change record, maybe the cleanest way would actually be to create a new change record and cross-reference that with https://www.drupal.org/node/3264978 → . I'm thinking that this change may not end up being backported so could be confusing for 9.x Nightwatch users.
- Status changed to Needs review
over 1 year ago 6:14pm 22 August 2023 - 🇨🇦Canada star-szr
Draft change record: https://www.drupal.org/node/3382659 →
Once it's published we can update the older change record to link to this one as well.
- last update
over 1 year ago 30,060 pass - Status changed to RTBC
over 1 year ago 11:11pm 26 August 2023 - 🇺🇸United States smustgrave
Ran tests for 11.x and all green.
New CR reads fine to me.
- last update
over 1 year ago 29,469 pass - last update
over 1 year ago 29,469 pass - last update
over 1 year ago 29,470 pass 39:33 36:03 Running- last update
over 1 year ago 29,470 pass - last update
about 1 year ago 29,471 pass - last update
about 1 year ago 29,471 pass - last update
about 1 year ago 29,471 pass - last update
about 1 year ago 29,473 pass - last update
about 1 year ago 29,477 pass - last update
about 1 year ago 29,477 pass - last update
about 1 year ago 29,477 pass - last update
about 1 year ago 29,482 pass - last update
about 1 year ago 29,482 pass - last update
about 1 year ago 29,482 pass - last update
about 1 year ago 29,485 pass - Status changed to Fixed
about 1 year ago 5:20pm 27 September 2023 Automatically closed - issue fixed for 2 weeks with no activity.