Component tests
Tests for every UI component or page, written alongside it.
Command: /sf:frontend-tests · Methodology: Is2Be Software · Phase: Phase 5 · Testing
When to use it
Section titled “When to use it”When building a new component or page.
It’s working if
Section titled “It’s working if”- They test what users see and do, not internals.
- They cover loading, error and empty states.
- They mock the API rather than reimplementing it.
- On mobile, they cover denied permissions and, if relevant, offline mode.
Where it fits
Section titled “Where it fits”- Before: Frontend feature
- After: E2E tests
Requirements
Section titled “Requirements”-
Your AI connected to the service with your licence key (how to connect).
-
The project set up once with
/sf:setup. -
The outputs of the previous steps (see Where it fits).