Skip to content

[Frontend · Shared primitives] Write shared primitive tests #289

@amina69

Description

@amina69

Epic: Shared primitives
Labels: test, phase-2, frontend
Size: S (~1 day)

Description

Tests for all shared primitive components.

Tasks

  • StatusBadge: each color variant, pulse class when pulse=true
  • ConfirmationModal: onConfirm called, ESC calls onCancel, isDangerous makes button red, focus trap
  • Pagination: shown when hasMore, spinner during fetching, hidden when exhausted
  • RelativeTime: correct output, updates on tick, cleanup on unmount
  • EntityDetailLayout: tabs switch, side panel renders on desktop
  • CopyToClipboard: clipboard called, reverts after 2s
  • SkeletonLoader: correct line count, variants

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave program

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions