From 8aec6acfab0fd7a272b8691a014064f18b2be319 Mon Sep 17 00:00:00 2001 From: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Date: Mon, 9 Jun 2025 16:12:05 +0530 Subject: [PATCH] fix glossary playwright tests (#21645) * fix glossary tests * fix tests --- .../src/main/resources/ui/playwright/e2e/Pages/Glossary.spec.ts | 2 +- .../ui/src/components/Glossary/GlossaryV1.component.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/Glossary.spec.ts b/openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/Glossary.spec.ts index 4b6c22c3aff..cb38c68e7db 100644 --- a/openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/Glossary.spec.ts +++ b/openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/Glossary.spec.ts @@ -1459,7 +1459,7 @@ test.describe('Glossary tests', () => { await expect( dataConsumerPage.getByTestId('permission-error-placeholder') ).toHaveText( - "You don't have necessary permissions. Please check with the admin to get the View Glossary permission." + 'You don’t have access, please check with the admin to get permissions' ); await consumerAfterAction(); diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Glossary/GlossaryV1.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Glossary/GlossaryV1.component.tsx index 7915e18cc05..13b54629efd 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Glossary/GlossaryV1.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/Glossary/GlossaryV1.component.tsx @@ -356,7 +356,7 @@ const GlossaryV1 = ({