Problem/Motivation
The Search module is used in olivero_test
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3586616
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 #3
quietone commentedComment #5
quietone commentedComment #6
dcam commentedI can't verify that the tests are actually running. Please check the test output. I expected to see two instances of a test named
oliveroRemoveBlockConsoleTest.jsrun, but there's only one. It appears to be the original one incore/tests/Drupal/Nightwatch. I also expected to seeoliveroSearchFormTest.jsin the output, but it's missing.I don't know anything about Nightwatch testing, but it looks like there may be an expectation that the JS files should be in a Tests subdirectory, e.g.
core/modules/search/tests/src/Nightwatch/Tests/. The three other core modules with Nightwatch tests (ckeditor, navigation, and toolbar) follow this convention. Maybe they need to be moved.Otherwise the code splits and moves look OK to me. I didn't really find anything to comment about.
Comment #7
quietone commented@dcam, thanks for finding that.
The test, oliveroRemoveBlockConsoleTest,js is now running twice, once for each file.
Comment #8
smustgrave commentedFeedback appears to be addressed on this one
Comment #9
alexpottCommitted f3e6745 and pushed to main. Thanks!
Comment #12
alexpottBackported to 11.x do allow search to be deprecated there.
Committed cb1f6e0 and pushed to 11.x. Thanks!