mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
Fix authorize page tests
This commit is contained in:
1 file changed
+2
-4
@@ -120,7 +120,7 @@ describe('APIAuthorizationPage', () => {
|
||||
|
||||
expect(await screen.findByText('This grant covers every project')).toBeInTheDocument()
|
||||
expect(screen.queryByRole('combobox')).not.toBeInTheDocument()
|
||||
expect(screen.getByText('This grant is shared with the whole organization')).toBeInTheDocument()
|
||||
expect(screen.getByText('Want this scoped to one member?')).toBeInTheDocument()
|
||||
})
|
||||
|
||||
test('user_bound_all renders without a picker and covers every project', async () => {
|
||||
@@ -134,8 +134,6 @@ describe('APIAuthorizationPage', () => {
|
||||
|
||||
expect(await screen.findByText('This grant covers every project')).toBeInTheDocument()
|
||||
expect(screen.queryByRole('combobox')).not.toBeInTheDocument()
|
||||
expect(
|
||||
screen.queryByText('This grant is shared with the whole organization')
|
||||
).not.toBeInTheDocument()
|
||||
expect(screen.queryByText('Want this scoped to one member?')).not.toBeInTheDocument()
|
||||
})
|
||||
})
|
||||
Reference in new issue
Block a user