mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 20:35:07 +03:00
* Move all studio files from /studio to /apps/studio. * Move studio specific prettier ignores. * Fix the ui references from studio. * Fix the css imports. * Fix all package.json issues. * Fix the prettier setup for the studio app. * Add .turbo folder to prettierignore. * Fix the github workflows.
16 lines
314 B
Markdown
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')
|
|
```
|