test(forms): cover states and interactions - #719
Open
Fabluchy wants to merge 1 commit into
Open
Conversation
Fabluchy
force-pushed
the
test/forms-01-component
branch
2 times, most recently
from
July 30, 2026 21:04
faaf634 to
359b3a7
Compare
Add comprehensive React Testing Library tests for TextField and Button form components covering loading, empty, error, success, disabled, busy, and keyboard interaction states. Asserts accessible names and roles. Closes StableRoute-Org#561
Fabluchy
force-pushed
the
test/forms-01-component
branch
from
July 30, 2026 21:14
359b3a7 to
69d9fbb
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.
Summary
Add comprehensive React Testing Library tests for the TextField and Button form components covering loading, empty, error, success, disabled, busy, and keyboard interaction states. Asserts accessible names and roles.
Closes #561
Changes
TextField (previously 1 test → now 35 tests)
Button (previously 8 tests → now 29 tests)
Test Output
```
Test Suites: 2 passed, 2 total
Tests: 64 passed, 64 total
Snapshots: 0 total
Time: ~1.4s
```
Checklist