Browse Source
Apply comprehensive snapshot testing improvements to ProjectIcon and ContactBulkActions components, matching the enhanced validation pattern established for RegistrationNotice and LargeIdenticonModal. - ProjectIcon: Add specific structure validation with regex patterns, conditional rendering tests for different prop combinations (imageUrl, linkToFullImage), accessibility structure validation, and SVG structure verification - ContactBulkActions: Add specific structure validation with regex patterns, conditional rendering tests for showGiveNumbers prop, accessibility attribute validation, and form control verification - Fix conditional rendering logic to properly test Vue v-if behavior for both components - Add comprehensive prop combination testing covering all rendering scenarios - Maintain accessibility attribute validation where implemented (data-testid, SVG xmlns) Improves component reliability with realistic validation that matches actual component structure and behavior, ensuring consistent testing quality across all simple components.pull/153/head
5 changed files with 313 additions and 15 deletions
Loading…
Reference in new issue