Skip to content

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

test(studio): allow scoped token creation in CI (#49163)

Danny Whitefba373314819
diff --git a/apps/studio/components/interfaces/Account/AccessTokens/Scoped/NewScopedTokenSheet.test.tsx b/apps/studio/components/interfaces/Account/AccessTokens/Scoped/NewScopedTokenSheet.test.tsx
index dce13235404..a1c401f7170 100644
--- a/apps/studio/components/interfaces/Account/AccessTokens/Scoped/NewScopedTokenSheet.test.tsx
+++ b/apps/studio/components/interfaces/Account/AccessTokens/Scoped/NewScopedTokenSheet.test.tsx
@@ -204,7 +204,7 @@ describe('NewScopedTokenSheet', () => {
fireEvent.click(await screen.findByRole('button', { name: 'Done' }))
// Dialog has been closed
await waitFor(() => expect(screen.queryByRole('dialog')).toBeNull())
- })
+ }, 10_000)
// Organization scope tests
test('requires an organization when scope is Organization', async () => {
@@ -254,7 +254,7 @@ describe('NewScopedTokenSheet', () => {
fireEvent.click(await screen.findByRole('button', { name: 'Done' }))
// Dialog has been closed
await waitFor(() => expect(screen.queryByRole('dialog')).toBeNull())
- })
+ }, 10_000)
test('opens the experimental API dialog from the dropdown', async () => {
renderSheet()