Skip to content

Add component tests for components/ui/dialog.tsx #650

Description

@Austinaminu2

Description

`components/ui/dialog.tsx` has no test coverage for opening/closing via its trigger, the `showCloseButton` prop, or content rendering.

Task

Add a test file covering: the dialog opens when its trigger is activated, closes via the close button (when `showCloseButton` is true) and via Escape, and renders the provided content correctly.

Good for contributors because

Widely-used, self-contained UI primitive with a clear open/close interaction to verify.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programhelp wantedExtra attention is neededtestingTests and QA

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions