Files
supabase/studio/tests/README.md
T

16 lines
314 B
Markdown

# UI Testing Notes
### `<Popover>` vs `<Dropdown>`
When simulating clicks on these components, do the following:
```js
// for Popovers
import userEvent from '@testing-library/user-event'
userEvent.click('Hello world')
// for Dropdowns
import clickDropdown from 'tests/helpers'
clickDropdown('Hello world')
```