mirror of
https://github.com/supabase/supabase.git
synced 2026-10-16 22:59:11 +03:00
added more assertions and tentative clickDropdown usage
This commit is contained in:
1 parent
026539b86a
commit
bdcd22745f
1 file changed
+3
-2
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user