r/reactjs • u/SniperKephas • 18h ago
How should I classify this type of React frontend test?
I'm working on a React frontend application with a form where some fields are enabled, disabled, shown, or hidden depending on user selections.
The test renders the component, simulates user interactions, and verifies that the form updates correctly (for example, a field becomes enabled only under specific conditions).
How should this type of test be classified?
- Unit test
- Component test
- Integration test
- Functional test