diff --git a/apps/studio/components/interfaces/Organization/OAuthApps/Consent/OAuthAppsAuthorizeScreen.test.tsx b/apps/studio/components/interfaces/Organization/OAuthApps/Consent/OAuthAppsAuthorizeScreen.test.tsx index 594518f0455..8a2e664f077 100644 --- a/apps/studio/components/interfaces/Organization/OAuthApps/Consent/OAuthAppsAuthorizeScreen.test.tsx +++ b/apps/studio/components/interfaces/Organization/OAuthApps/Consent/OAuthAppsAuthorizeScreen.test.tsx @@ -41,7 +41,7 @@ describe('OAuthAppsAuthorizeScreen', () => { ).toBeInTheDocument() }) - test('renders the publisher warning and no verified tick for the unverified fixture', async () => { + test('renders the publisher warning for the unverified fixture', async () => { customRender() expect( @@ -49,18 +49,18 @@ describe('OAuthAppsAuthorizeScreen', () => { "This publisher isn't verified by Supabase. Only continue if you trust it." ) ).toBeInTheDocument() - expect(screen.queryByRole('img', { name: 'Verified' })).not.toBeInTheDocument() }) - test('shows the verified tick and no publisher warning for a verified fixture', async () => { + test('shows no publisher warning and no verified tick for a verified fixture', async () => { customRender() - expect(await screen.findByRole('img', { name: 'Verified' })).toBeInTheDocument() + await screen.findByText('Permissions requested') expect( screen.queryByText( "This publisher isn't verified by Supabase. Only continue if you trust it." ) ).not.toBeInTheDocument() + expect(screen.queryByRole('img', { name: 'Verified' })).not.toBeInTheDocument() }) test('renders the success screen after the approve mutation resolves', async () => { diff --git a/apps/studio/components/interfaces/Organization/OAuthApps/Consent/OAuthAppsAuthorizeScreen.tsx b/apps/studio/components/interfaces/Organization/OAuthApps/Consent/OAuthAppsAuthorizeScreen.tsx index 1d2da5285f1..d9bbc871908 100644 --- a/apps/studio/components/interfaces/Organization/OAuthApps/Consent/OAuthAppsAuthorizeScreen.tsx +++ b/apps/studio/components/interfaces/Organization/OAuthApps/Consent/OAuthAppsAuthorizeScreen.tsx @@ -1,4 +1,3 @@ -import { BadgeCheck } from 'lucide-react' import { useState } from 'react' import { Button } from 'ui' import { Admonition } from 'ui-patterns/Admonition' @@ -157,14 +156,7 @@ export const OAuthAppsAuthorizeScreen = ({ logo={ } right={} /> } - title={ - - Authorize {request.app_name} - {request.is_verified && ( - - )} - - } + title={`Authorize ${request.app_name}`} description="This application wants to access your Supabase Account" >