Problem/Motivation
Search is being deprecated, see the parent issue for details. This issue is for removing Search from the nightwatch_a11y_testing profile & a11y tests.
Though Nightwatch is also being deprecated, I presume the profile will be used under a different name for #3338664: Migrate Nightwatch Axe tests to PHPUnit.
Steps to reproduce
Proposed resolution
- As was done for the standard profile, remove the lines containing
searchin:core/profiles/tests/nightwatch_a11y_testing/nightwatch_a11y_testing.info.ymlcore/profiles/tests/nightwatch_a11y_testing/config/install/user.role.anonymous.yml
- Remove the test case that contains
path: '/search/node'incore/tests/Drupal/Nightwatch/Tests/a11yTestDefault.js, as well as the two comment lines immediately before that test case.
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3584694
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:
- 3584694-remove-search-module
changes, plain diff MR !15531
Comments
Comment #2
quietone commentedComment #3
quietone commentedComment #4
kentr commented@quietone thanks for correcting the metadata.
This might be one for a first-time contributor.
Comment #5
kentr commentedComment #6
ishani patel commentedComment #8
ishani patel commentedHello,
I've raised MR.
Kindly review it.
Thank you!
Comment #9
quietone commented@kentr, any tips on how to fix these errors?
Comment #10
quietone commentedComment #11
dcam commentedI used the following grep commands to try and locate any other references to the Search module within the profile and test:
No instances of the string "search" were found in either case. It seems like this is probably all we need to remove.
The changes are simple. I have no real feedback to give about them. They look good to me.
I'm adding a related issue that was postponed on this one. It needs to be updated and repurposed or possibly closed after this issue is fixed.
Comment #12
kentr commentedAdding to #11 for the record:
There are other Nightwatch a11y tests. I searched them previously and double-checked just now, with the following command:
The only file in the results is
core/tests/Drupal/Nightwatch/Tests/a11yTestDefault.js(inmain, without the MR).Comment #15
amateescu commentedCommitted db37052 to main and e26dc2a to 11.x. Thanks!