Closed (fixed)
Project:
Drupal core
Version:
main
Component:
contact.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Nov 2025 at 10:48 UTC
Updated:
6 Feb 2026 at 16:39 UTC
Jump to comment: Most recent
Contact module is being deprecated. Usages is tests not in Contact needs to removed and test coverage moved to the Contact module.
ajax_test has a dependency on the contact module.
Investigate how contact is used by tests using 'ajax_test'.
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 #2
berdir\Drupal\FunctionalJavascriptTests\Ajax\DialogTest also explicitly relies on contact, not (only) through ajax_test. That will need to be adjusted too. The test will need to use a different entity type.
Comment #4
quietone commentedI tried to move the necessary code to the ajax_test module itself.
Comment #5
dcam commentedThere's a failure in the Nightwatch tests,
Tests/ajaxExecutionOrderTest. It looks like it may be related.Comment #6
quietone commentedCreated a new test module instead of adding to ajax_test.
Comment #7
quietone commentedComment #8
smustgrave commentedPipeline is all green and don't have any additional feedback. LGTM
Comment #9
dcam commentedWhat I was trying to figure out is if there is a need for the entity type and form. It seems like this test could be made on a simple controller. But maybe I'm missing something.
Comment #10
catchI think that would be a cleaner test, not necessarily much less code though because there'd need to be a bit more form definition probably that we wouldn't get from an entity form.
Since this is the last remaining contact deprecation blocker, going to go ahead here but we could try to simplify the test in a follow-up.
Committed/pushed to main and 11.x, thanks!
Comment #15
catch