mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 18:05:11 +03:00
* Remove radix-popover and radix-tooltip as deps from studio. * Migrate all uses of tooltip to shadcn tooltips. * Add tooltip portal to all shadcn tooltips. * Fix a warning about MenuItem not accepting refs in StorageMenu. * Remove unneeded styling for the tooltips. * Set a default delay duration for all tooltips in Studio. * Fix a type error. * Check and fix all tooltips.
UI Testing Notes
<Popover> vs <Dropdown>
When simulating clicks on these components, do the following:
// for Popovers
import userEvent from '@testing-library/user-event'
userEvent.click('Hello world')
// for Dropdowns
import clickDropdown from 'tests/helpers'
clickDropdown('Hello world')
Rules
- All tests should be run consistently (avoid situations whereby tests fails "sometimes")