- Frontend engineer
- Junior
- 20 min
Validate a dispatch contact
Alder Payments needs this behavior: The native label names its input, the submitted field has a name, and whitespace-only input produces a visible linked error before a valid value can submit. Use the supplied fixture rather than hardcoding the visible records. Submit spaces first, then a padded valid contact. The first attempt must show an error and the second must report the trimmed value.
Skills and rubricValidate a dispatch contact
- The native label names its input, the submitted field has a name, and whitespace-only input produces a visible linked error before a valid value can submit.
- Traces a concrete input and user event before coding.
- Checks the named boundary with an expected screen state.