Files
supabase/studio/tests
Joshen Lim 349d99aa95 Fix test
2023-07-07 14:52:32 +08:00
..
2023-07-07 12:25:00 +08:00
2023-07-07 14:52:32 +08:00
2023-03-28 16:02:38 +08:00
2022-07-26 10:51:10 +08:00
2023-03-28 16:00:09 +08:00
2022-09-20 12:54:01 -02:30

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')