diff --git a/studio/README.md b/studio/README.md index 3ce05dd6a33..df0df945274 100644 --- a/studio/README.md +++ b/studio/README.md @@ -72,3 +72,19 @@ Then run the following commands to install dependencies and start the dashboard. npm install npm run dev ``` + +## UI Testing Notes + +### `` vs `` + +When simulating clicks on these components, do the following: + +```js +// for Popovers +import userEvent from '@testing-library/user-event' +userEvent.click('Hello world') + +// for Popovers +import clickDropdown from 'tests/helpers' +clickDropdown('Hello world') +```