Concept Flow - Testing user interactions
Render Component
User Event Triggered
Event Handler Runs
State or DOM Updates
Assertions Check Expected Outcome
Test Pass or Fail
This flow shows how a user interaction triggers an event, updates the component, and then the test checks if the expected changes happened.