diff --git a/web/features/deployments/detail/settings-tab/access/__tests__/developer-api-section.spec.tsx b/web/features/deployments/detail/settings-tab/access/__tests__/developer-api-section.spec.tsx
index 2c8b71f7bf..176303d23f 100644
--- a/web/features/deployments/detail/settings-tab/access/__tests__/developer-api-section.spec.tsx
+++ b/web/features/deployments/detail/settings-tab/access/__tests__/developer-api-section.spec.tsx
@@ -82,7 +82,7 @@ describe('DeveloperApiSection', () => {
vi.clearAllMocks()
})
- // Loading should reserve the same shape as the enabled API page: endpoint copy row plus API key table.
+ // Loading should reserve the same shape as the enabled API key list.
describe('Loading state', () => {
it('should render the updated API tab skeleton while access config is loading', () => {
// Arrange
@@ -92,7 +92,7 @@ describe('DeveloperApiSection', () => {
const { container } = render()
// Assert
- expect(screen.getByText('deployments.access.api.endpoint')).toBeInTheDocument()
+ expect(screen.queryByText('deployments.access.api.endpoint')).not.toBeInTheDocument()
expect(screen.getByRole('columnheader', { name: 'deployments.access.api.table.name' })).toBeInTheDocument()
expect(screen.getByRole('columnheader', { name: 'deployments.access.api.table.environment' })).toBeInTheDocument()
expect(screen.getByRole('columnheader', { name: 'deployments.access.api.table.key' })).toBeInTheDocument()
diff --git a/web/features/deployments/detail/settings-tab/access/developer-api-section.tsx b/web/features/deployments/detail/settings-tab/access/developer-api-section.tsx
index cf85109d60..bdecb8e9fa 100644
--- a/web/features/deployments/detail/settings-tab/access/developer-api-section.tsx
+++ b/web/features/deployments/detail/settings-tab/access/developer-api-section.tsx
@@ -200,18 +200,8 @@ function CreatedApiTokenDialog({ token, onDismiss }: {
}
function DeveloperApiSkeleton() {
- const { t } = useTranslation('deployments')
-
return (
-
-
- {t('access.api.endpoint')}
-
-
-
-
-
)