Repository navigation
test(ui): pin the outlined fields and primitive controls of six forms - #1308
Merged
Merged
Conversation
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Nov 23, 2026
The form rule of the content migration (task 6.3) had no test, so a filled text field or a hand-built radio button or checkbox could slip back into these forms unnoticed. A shared helper now asserts that every text field is outlined and that every radio button and checkbox is an MdRadio or MdCheckbox, and the tests of CreateTokenDialog, PolicyDialog, SearchFilters (new test file), AuditView, PasswordCard and FileUpload call it. Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
TheMeinerLP
force-pushed
the
test/task-6-3-form-controls
branch
from
November 23, 2026 13:38
7322ddd to
685361d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Several forms of the dashboard had mixed text field variants and hand-built controls, and nothing stopped them from coming back. This adds the guard from task 6.3 of migrate-content-to-components: a small test helper checks that every text field is the outlined variant and that every radio button and checkbox comes from a primitive. The tests of CreateTokenDialog, PolicyDialog, SearchFilters (a new test file), AuditView, PasswordCard and FileUpload use it. Test-only; no component is changed.
Type of change
test- tests onlyHow was this tested?
npm run eslintandnpm run typecheckin reposilite-frontend: cleansrc/anchorsandsrc/style-gate: 321 passedfilledmakes the new test failThe components were already migrated on main, so the new tests pass there and act as regression guards. The DryRunStep and SupportView button assertions of 6.3 are left to 6.6: SystemInfoView still has raw buttons, so asserting them now would fail.
Checklist
./gradlew buildpasses locally (frontend only change, not run)