mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
* state refactor & new log detail * fix type in tests * use new hook in auth page logs
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")