-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(Tooltip): update default delay #2965
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
size-limit report 📦
|
|
@@ -26,21 +26,27 @@ describe('Avatar', () => { | |||
it('renders an icon when it is provided', () => { | |||
const src = 'https://example.com/image.jpg'; | |||
render(<Avatar src={src} icon={<CheckCircleIcon variant="positive" />} />); | |||
|
|||
expect(screen.queryByTestId('cf-ui-avatar-icon')).toBeInTheDocument(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test had no assertion so I added the data-test-id
attribute to the icon in the Avatar component.
Purpose of PR
Increases the delay to show the tooltip to prevent accidental triggers.
PR Checklist
readme.md
file(s)