Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

added more assertions and tentative clickDropdown usage

TzeYiingbdcd22745f61
diff --git a/studio/tests/pages/projects/LogPanel.test.js b/studio/tests/pages/projects/LogPanel.test.js
index ec7f6a4fba5..8fa1a9dcdc4 100644
--- a/studio/tests/pages/projects/LogPanel.test.js
+++ b/studio/tests/pages/projects/LogPanel.test.js
@@ -1,6 +1,7 @@
import LogPanel from 'components/interfaces/Settings/Logs/LogPanel'
import { render, waitFor, screen } from '@testing-library/react'
import userEvent from '@testing-library/user-event'
+import { clickDropdown } from 'tests/helpers'
test('templates', async () => {
const mockFn = jest.fn()
@@ -60,8 +61,8 @@ test('timestamp from filter', async () => {
const dropdown = await screen.findByText(/Now/)
// click the dropdown
- throw Error('not impl')
-
+ clickDropdown(dropdown)
+
await screen.findByLabelText('From')
// display iso timestamp
const year = new Date().getFullYear()