mirror of
https://github.com/supabase/supabase.git
synced 2026-10-07 10:25:06 +03:00
* Expand the Sort type with a table property. * Add a qualifier for the sort when sending a fetch table query. * Fix the tests.
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")