mirror of
https://github.com/supabase/supabase.git
synced 2026-10-13 13:19:09 +03:00
* add database pricing config * pricing paywalls * fix showing correct charts * fix test * remove disabled helpers in favor of upsell dialog * fix missing fn to calc time * rm clog * show badge next to helpers * ui fix * fix type errs * fix hallucinated import fml
17 lines
612 B
TypeScript
17 lines
612 B
TypeScript
import { screen } from '@testing-library/react'
|
|
import { test } from 'vitest'
|
|
|
|
import { ApiReport } from 'pages/project/[ref]/reports/api-overview'
|
|
import { customRender as render } from 'tests/lib/custom-render'
|
|
|
|
test(`Render static elements`, async () => {
|
|
render(<ApiReport dehydratedState={{}} />)
|
|
await screen.findByText('Total Requests')
|
|
await screen.findByText('Response Errors')
|
|
await screen.findByText('Response Speed')
|
|
await screen.findByText('Network Traffic')
|
|
await screen.findByText(/Last 60 minutes/)
|
|
await screen.findByText(/Add filter/)
|
|
await screen.findByText(/All Requests/)
|
|
})
|