Skip to content

[bug]: Missing tesdId property in Sonner #8232

@alamenai

Description

@alamenai

Describe the bug

Hi,

While I was reading the documentation of the Toast from Sonner, I found that there's an attribute called testId which used to access the toast in the tests.

However, this is missed in the shadcn Sonner.

Affected component/components

Sonner

How to reproduce

  1. Go to the API reference
  2. Check the attribute testId ( row 11 in the table).

Codesandbox/StackBlitz link

No response

Logs

System Info

.

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions