The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Move ui testing notes section
Terry Sutton2626a3efb5e5
diff --git a/studio/README.md b/studio/README.mdindex f24a5e2e125..d5c0d3770f1 100644--- a/studio/README.md+++ b/studio/README.md@@ -37,7 +37,7 @@ Project settings are managed outside of the Dashboard. If you use docker-compose# You'll need to be on Node v14# in /studio-npm i # install deps+npm i # install dependenciesnpm run dev # start dev servernpm run test # run testsnpm run -- --watch # run tests in watch mode@@ -45,7 +45,7 @@ npm run -- --watch # run tests in watch mode## Running within a self-hosted environment-Firstly, follow the guide [here](https://supabase.com/docs/guides/hosting/docker) to get started with self-hosted Supabase.+Follow the guide [here](https://supabase.com/docs/guides/hosting/docker) to get started with self-hosted Supabase.```cd ..@@ -67,19 +67,3 @@ Then run the following commands to install dependencies and start the dashboard.npm installnpm run dev```--## UI Testing Notes--### `<Popover>` vs `<Dropdown>`--When simulating clicks on these components, do the following:--```js-// for Popovers-import userEvent from '@testing-library/user-event'-userEvent.click('Hello world')--// for Dropdowns-import clickDropdown from 'tests/helpers'-clickDropdown('Hello world')-```diff --git a/studio/tests/README.md b/studio/tests/README.mdnew file mode 100644index 00000000000..5f2672e29ed--- /dev/null+++ b/studio/tests/README.md@@ -0,0 +1,15 @@+# UI Testing Notes++### `<Popover>` vs `<Dropdown>`++When simulating clicks on these components, do the following:++```js+// for Popovers+import userEvent from '@testing-library/user-event'+userEvent.click('Hello world')++// for Dropdowns+import clickDropdown from 'tests/helpers'+clickDropdown('Hello world')+```