The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: fix flaky test
TzeYiingf76da639526e
diff --git a/studio/tests/pages/projects/LogsPreviewer.test.js b/studio/tests/pages/projects/LogsPreviewer.test.jsindex 0b6cb0b7276..203396495f6 100644--- a/studio/tests/pages/projects/LogsPreviewer.test.js+++ b/studio/tests/pages/projects/LogsPreviewer.test.js@@ -217,7 +217,7 @@ test('Search will trigger a log refresh', async () => {test('poll count for new messages', async () => {get.mockImplementation((url) => {if (url.includes('count')) {- return { result: [{ count: 125 }] }+ return { result: [{ count: 54325432 }] }}return {result: [logDataFixture({ id: 'some-uuid123' })],@@ -226,10 +226,10 @@ test('poll count for new messages', async () => {render(<LogsPreviewer projectRef="123" tableName={LogsTableName.EDGE} />)await waitFor(() => screen.queryByText(/some-uuid123/) === null)// should display new logs count- await waitFor(() => screen.getByText(/125/))+ await waitFor(() => screen.getByText(/54325432/))userEvent.click(screen.getByText(/Refresh/))- await waitFor(() => screen.queryByText(/125/) === null)+ await waitFor(() => screen.queryByText(/54325432/) === null)await screen.findByText(/some-uuid123/)})test('log event chart', async () => {