Files
supabase/apps/studio/tests
Terry Sutton 110e8ed77f Chore/update url regex (#30138)
* Allow excluding options in the url regex

* Add tests for options
2024-10-29 10:05:52 -02:30
..
2024-10-01 11:29:37 +02:00
2024-05-29 17:31:20 +02:00
2024-10-01 11:29:37 +02:00
2024-07-04 14:48:10 +08:00
2024-05-11 12:05:25 +02:00

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