Avoid functional-test dual-container traps
## Problem/motivation
Follow-up to:
#3586258+s
Pull item 7.3 from:
#3586299+s
_**Verify the issue problem and solution before proceeding.**_
### Avoid functional-test dual-container traps
**File:**
- `tests/src/Functional/AiContextAdminSettingsTest.php`
**Problem:**
At least one functional test submits a form directly through the test
container's `form_builder`. Functional tests run separate test and web-server
containers, so direct form builder submission can miss browser/runtime behavior.
**Recommended fix:**
- Use `$this->drupalGet()` and browser-level `$this->submitForm()` when testing
user-facing forms.
- If direct form API testing is intentional, move that coverage to a Kernel test
or document why direct submission is appropriate.
## AI usage
- [x] AI assisted issue
issue