Files
supabase/apps/studio/tests
Kevin Grüneberg f541107196 chore: use new tax id endpoints (#27246)
Adapts the tax id view to the new MGMT-API endpoints. Users can now only manage a single tax id instead of adding multiple.

Besides
- Use non-deprecated fetchers
- Use Shadcn components
2024-06-19 12:19:20 +08:00
..
2024-05-29 17:31:20 +02:00
2024-05-29 17:31:20 +02:00
2024-05-29 17:31:20 +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")